=== modified file 'src/screen-sdl-glesv2.cpp'
@@ -65,6 +65,7 @@
#endif
glClearColor(0.0f, 0.0f, 0.0f, 0.5f);
+ glClearDepthf(1.0f);
glEnable(GL_DEPTH_TEST);
glDepthFunc(GL_LEQUAL);
glEnable(GL_CULL_FACE);
=== modified file 'src/sdlgles/attribs.inc'
@@ -1,8 +1,8 @@
/* List of EGL attributes we care about */
A(0, EGL_BUFFER_SIZE, 1)
-A(1, EGL_RED_SIZE, 1)
-A(2, EGL_GREEN_SIZE, 1)
-A(3, EGL_BLUE_SIZE, 1)
+A(1, EGL_RED_SIZE, 0)
+A(2, EGL_GREEN_SIZE, 0)
+A(3, EGL_BLUE_SIZE, 0)
A(4, EGL_LUMINANCE_SIZE, 0)
A(5, EGL_ALPHA_SIZE, 0)
A(6, EGL_CONFIG_CAVEAT, EGL_DONT_CARE)