mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue