mirror of https://github.com/mgba-emu/mgba.git
GBA Video: Fix build on macOS
This commit is contained in:
parent
c1c931c61f
commit
45e81d0ecc
|
@ -1408,7 +1408,7 @@ void GBAVideoGLRendererDrawScanline(struct GBAVideoRenderer* renderer, int y) {
|
|||
if (y == 0) {
|
||||
glDisable(GL_SCISSOR_TEST);
|
||||
glClearColor(0, 0, 0, 0);
|
||||
#ifdef BUILD_GLES3
|
||||
#ifdef GL_GLES_PROTOTYPES
|
||||
glClearDepthf(1.f);
|
||||
#else
|
||||
glClearDepth(1);
|
||||
|
|
Loading…
Reference in New Issue