mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
Fix regression with depth-stencil textures reported as unsupported
This commit is contained in:
parent
5def6a6261
commit
b9440d634c
@ -1114,6 +1114,9 @@ reset() {
|
||||
#else
|
||||
_supports_depth_texture = (is_at_least_gl_version(1, 4) ||
|
||||
has_extension("GL_ARB_depth_texture"));
|
||||
_supports_depth_stencil = (is_at_least_gl_version(3, 0) ||
|
||||
has_extension("GL_ARB_framebuffer_object") ||
|
||||
has_extension("GL_EXT_packed_depth_stencil"));
|
||||
#endif
|
||||
|
||||
#ifdef OPENGLES_2
|
||||
|
Loading…
x
Reference in New Issue
Block a user