summaryrefslogtreecommitdiffstats
path: root/src/demos/hdr
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/hdr')
-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 aca38e9..900d7f3 100755
--- a/src/demos/hdr/HDR.java
+++ b/src/demos/hdr/HDR.java
@@ -314,7 +314,7 @@ public class HDR extends Demo {
caps.setAlphaBits(floatAlphaBits);
caps.setDepthBits(floatDepthBits);
int[] tmp = new int[1];
- if (!GLDrawableFactory.getFactory(GLProfile.getDefault()).canCreateGLPbuffer()) {
+ if (!GLDrawableFactory.getFactory(GLProfile.getDefault()).canCreateGLPbuffer(null)) {
unavailableExtension("Can not create pbuffer");
}
if (pbuffer != null) {