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) {
|
if (y == 0) {
|
||||||
glDisable(GL_SCISSOR_TEST);
|
glDisable(GL_SCISSOR_TEST);
|
||||||
glClearColor(0, 0, 0, 0);
|
glClearColor(0, 0, 0, 0);
|
||||||
#ifdef BUILD_GLES3
|
#ifdef GL_GLES_PROTOTYPES
|
||||||
glClearDepthf(1.f);
|
glClearDepthf(1.f);
|
||||||
#else
|
#else
|
||||||
glClearDepth(1);
|
glClearDepth(1);
|
||||||
|
|
Loading…
Reference in New Issue