summaryrefslogtreecommitdiffstats
path: root/src/demos/hdr/HDR.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-07-17 03:32:55 +0200
committerSven Gothel <[email protected]>2013-07-17 03:32:55 +0200
commit0c81c5489b0b65392b28877faf0d0e68022e6181 (patch)
tree7fb6cf03bd8927c4fe2de41a5f376a63e3faabbe /src/demos/hdr/HDR.java
parentd2d20162fe199b1b7c79d46530d0bb29780beeeb (diff)
Adapt to to JOGL commit 78abc89be7f3935f26802cc0db33f61fc2c65de0 - LDrawableFactory.canCreateGLPbuffer(..) add GLProfile argument, similar to canCreateFBO(..)v2.0.2
Diffstat (limited to 'src/demos/hdr/HDR.java')
-rwxr-xr-xsrc/demos/hdr/HDR.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/hdr/HDR.java b/src/demos/hdr/HDR.java
index 746ea7d..47d2589 100755
--- a/src/demos/hdr/HDR.java
+++ b/src/demos/hdr/HDR.java
@@ -318,7 +318,7 @@ public class HDR extends Demo {
caps.setAlphaBits(floatAlphaBits);
caps.setDepthBits(floatDepthBits);
int[] tmp = new int[1];
- if (!GLDrawableFactory.getFactory(GLProfile.getDefault()).canCreateGLPbuffer(null)) {
+ if (!GLDrawableFactory.getFactory(GLProfile.getDefault()).canCreateGLPbuffer(null, caps.getGLProfile())) {
unavailableExtension("Can not create pbuffer");
}
if (pbuffer != null) {