Fix regression with depth-stencil textures reported as unsupported

This commit is contained in:
rdb 2015-05-11 20:33:14 +02:00
parent 5def6a6261
commit b9440d634c

View File

@ -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