aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-24 12:53:07 +0200
committerSven Gothel <[email protected]>2012-10-24 12:53:07 +0200
commitdedf4ea7ddab1279602208fa194231ea65409251 (patch)
treefdd12e4694b23b9f1e82a0be53547c02bec75dbb /src/jogl/classes/com/jogamp/opengl
parentd73ee3ac8aac58914146c0c9949902452db83b56 (diff)
Fix Bug 630: packedDepthStencilAvail didn't check for EXT_packed_depth_stencil extension
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/FBObject.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/FBObject.java b/src/jogl/classes/com/jogamp/opengl/FBObject.java
index f40d44ff5..8dc34345d 100644
--- a/src/jogl/classes/com/jogamp/opengl/FBObject.java
+++ b/src/jogl/classes/com/jogamp/opengl/FBObject.java
@@ -801,7 +801,9 @@ public class FBObject {
stencil08Avail = fullFBOSupport || gl.isExtensionAvailable(GLExtensions.OES_stencil8);
stencil16Avail = fullFBOSupport;
- packedDepthStencilAvail = fullFBOSupport || gl.isExtensionAvailable(GLExtensions.OES_packed_depth_stencil);
+ packedDepthStencilAvail = fullFBOSupport ||
+ gl.isExtensionAvailable(GLExtensions.OES_packed_depth_stencil) ||
+ gl.isExtensionAvailable(GLExtensions.EXT_packed_depth_stencil) ;
final boolean NV_fbo_color_attachments = gl.isExtensionAvailable(GLExtensions.NV_fbo_color_attachments);