summaryrefslogtreecommitdiffstats
path: root/src/demos/texture
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/texture')
-rwxr-xr-xsrc/demos/texture/TextureConvert.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/texture/TextureConvert.java b/src/demos/texture/TextureConvert.java
index cd198e0..6287acb 100755
--- a/src/demos/texture/TextureConvert.java
+++ b/src/demos/texture/TextureConvert.java
@@ -75,7 +75,7 @@ public class TextureConvert {
caps.setDoubleBuffered(false);
// Make a pbuffer to get an offscreen context
- if (!GLDrawableFactory.getFactory(glp).canCreateGLPbuffer(null)) {
+ if (!GLDrawableFactory.getFactory(glp).canCreateGLPbuffer(null, glp)) {
System.out.println("Pbuffer support not available (required to run this demo)");
System.exit(1);
}