Index: client/deps/glbench/src/egl_stuff.cc |
diff --git a/client/deps/glbench/src/egl_stuff.cc b/client/deps/glbench/src/egl_stuff.cc |
index 4124072940984fd7ec90d2198711325a0b84bb57..7728d4b5fcf314f15e40297d86cd228961d7949b 100644 |
--- a/client/deps/glbench/src/egl_stuff.cc |
+++ b/client/deps/glbench/src/egl_stuff.cc |
@@ -83,8 +83,10 @@ bool InitContext() { |
eglQuerySurface(egl_display, egl_surface, EGL_WIDTH, &g_width); |
eglQuerySurface(egl_display, egl_surface, EGL_HEIGHT, &g_height); |
+#ifndef USE_EGL |
glMatrixMode(GL_MODELVIEW); |
glLoadIdentity(); |
+#endif |
return true; |
} |