summaryrefslogtreecommitdiffstats
path: root/src/demos/misc/TiledRendering.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/misc/TiledRendering.java')
-rwxr-xr-xsrc/demos/misc/TiledRendering.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/misc/TiledRendering.java b/src/demos/misc/TiledRendering.java
index 86de0bb..c2a614f 100755
--- a/src/demos/misc/TiledRendering.java
+++ b/src/demos/misc/TiledRendering.java
@@ -41,7 +41,7 @@ public class TiledRendering {
GLCapabilities caps = new GLCapabilities(null);
caps.setDoubleBuffered(false);
- if (!GLDrawableFactory.getFactory(caps.getGLProfile()).canCreateGLPbuffer(null)) {
+ if (!GLDrawableFactory.getFactory(caps.getGLProfile()).canCreateGLPbuffer(null, caps.getGLProfile())) {
System.out.println("Demo requires pbuffer support");
System.exit(1);
}