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.
This commit is contained in:
parent
14cb57ce3b
commit
1beb9e9ffd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue