GBA Video: Fix layers breaking randomly
Vicki Pfau vi@endrift.com
Fri, 24 May 2019 02:31:23 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/gba/renderers/gl.c
→
src/gba/renderers/gl.c
@@ -1140,6 +1140,7 @@
if (glRenderer->paletteDirty || glRenderer->vramDirty || glRenderer->oamDirty || glRenderer->regsDirty) { if (glRenderer->firstY >= 0) { _drawScanlines(glRenderer, y - 1); + glBindVertexArray(0); } } if (glRenderer->firstY < 0) {