mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Specify EGL_DEPTH_SIZE for emscripten
Some drivers require it to provide a depth buffer.
This commit is contained in:
parent
d9aaef40cc
commit
4f002f2316
@ -139,6 +139,7 @@ static void *gfx_ctx_emscripten_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
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user