From dedf4ea7ddab1279602208fa194231ea65409251 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 24 Oct 2012 12:53:07 +0200 Subject: Fix Bug 630: packedDepthStencilAvail didn't check for EXT_packed_depth_stencil extension --- src/jogl/classes/com/jogamp/opengl/FBObject.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/jogl/classes/com') 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); -- cgit v1.2.3