From 1beb9e9ffdd373105ca174e518a2d6d53e991e2b Mon Sep 17 00:00:00 2001 From: Logan McNaughton Date: Tue, 30 Aug 2016 15:29:17 -0600 Subject: [PATCH] EGL_DEPTH_SIZE should be set EGL_DEPTH_SIZE needs to be set in order to have an FBO with a depth buffer. Some drivers aren't as strict about this but many are. --- gfx/drivers_context/android_ctx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/drivers_context/android_ctx.c b/gfx/drivers_context/android_ctx.c index bbdeff35f0..1f797c8cc1 100644 --- a/gfx/drivers_context/android_ctx.c +++ b/gfx/drivers_context/android_ctx.c @@ -114,6 +114,7 @@ static void *android_gfx_ctx_init(void *video_driver) EGL_GREEN_SIZE, 8, EGL_RED_SIZE, 8, EGL_ALPHA_SIZE, 8, + EGL_DEPTH_SIZE, 16, EGL_NONE }; #endif