diff options
Diffstat (limited to 'src/demos/hdr')
-rwxr-xr-x | src/demos/hdr/HDR.java | 2 |
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) { |