all repos — mgba @ 19c4e565d1c5c12b72984338a05b0be70dc6df26

mGBA Game Boy Advance Emulator

GBA Video: Fix VBO leak
Vicki Pfau vi@endrift.com
Sun, 26 May 2019 09:38:29 -0700
commit

19c4e565d1c5c12b72984338a05b0be70dc6df26

parent

130cb63bbc45819d844dd7cf30015a533d4168d8

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/gba/renderers/gl.csrc/gba/renderers/gl.c

@@ -834,6 +834,7 @@ glDeleteFramebuffers(GBA_GL_FBO_MAX, glRenderer->fbo);

glDeleteTextures(GBA_GL_TEX_MAX, glRenderer->layers); glDeleteTextures(1, &glRenderer->paletteTex); glDeleteTextures(1, &glRenderer->vramTex); + glDeleteBuffers(1, &glRenderer->vbo); _deleteShader(&glRenderer->bgShader[0]); _deleteShader(&glRenderer->bgShader[1]);