GLES: Fixed D32 RBO format. (#3662)

This commit is contained in:
Branimir Karadžić
2026-04-13 20:59:42 -07:00
committed by GitHub
parent e21258414d
commit cc109f587b

View File

@@ -427,7 +427,11 @@ namespace bgfx { namespace gl
GL_DEPTH_COMPONENT16, // D16
GL_DEPTH_COMPONENT24, // D24
GL_DEPTH24_STENCIL8, // D24S8
#if BGFX_CONFIG_RENDERER_OPENGLES
GL_DEPTH_COMPONENT32F, // D32
#else
GL_DEPTH_COMPONENT32, // D32
#endif // BGFX_CONFIG_RENDERER_OPENGLES
GL_DEPTH_COMPONENT32F, // D16F
GL_DEPTH_COMPONENT32F, // D24F
GL_DEPTH_COMPONENT32F, // D32F