EGL_DEPTH_SIZE should be set

Same reasoning as Android.
This commit is contained in:
Logan McNaughton 2016-08-30 15:32:25 -06:00 committed by GitHub
parent 17a0aa4463
commit 78337bae4b

View File

@ -171,6 +171,7 @@ static void *gfx_ctx_vc_init(void *video_driver)
EGL_GREEN_SIZE, 8,
EGL_BLUE_SIZE, 8,
EGL_ALPHA_SIZE, 8,
EGL_DEPTH_SIZE, 16,
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
EGL_NONE
};