diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-11 00:24:56 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-11 00:24:56 (GMT) |
commit | 88035568a9eb19fe92595eff6d5df1ecb493916d (patch) | |
tree | fb158897e214b2cefaa1927ed6bc9f7036717494 /src/opengl | |
parent | f5417ce0e6c46b56a21b7bc968cc67b22d894392 (diff) | |
download | Qt-88035568a9eb19fe92595eff6d5df1ecb493916d.zip Qt-88035568a9eb19fe92595eff6d5df1ecb493916d.tar.gz Qt-88035568a9eb19fe92595eff6d5df1ecb493916d.tar.bz2 |
Recognize the OES_packed_depth_stencil extension
Reviewed-by: trustme
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qgl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index acb4d4f..bb20b6d 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -4819,6 +4819,10 @@ void QGLExtensions::init_extensions() if (extensions.contains(QLatin1String("OES_framebuffer_object"))) glExtensions |= FramebufferObject; #endif +#if defined(QT_OPENGL_ES) + if (extensions.contains(QLatin1String("OES_packed_depth_stencil"))) + glExtensions |= PackedDepthStencil; +#endif if (extensions.contains(QLatin1String("ARB_framebuffer_object"))) { // ARB_framebuffer_object also includes EXT_framebuffer_blit. glExtensions |= FramebufferObject; |