summaryrefslogtreecommitdiffstats
path: root/src/demos/misc/TiledRendering.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-15 03:46:16 +0200
committerSven Gothel <[email protected]>2010-04-15 03:46:16 +0200
commit4ff184fd14376241b5a28b3a93f84a849d33f002 (patch)
tree10bf9a19fcded63b0132ec9e626a986595985464 /src/demos/misc/TiledRendering.java
parentaa2f05ff1ab182fdb6f724a6aedf91de201efe7e (diff)
Fixes to match JOGL 2ae28d54858ff684bc2368e0476a7a357dc63432
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 44035fd..08fd70e 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()) {
+ if (!GLDrawableFactory.getFactory(caps.getGLProfile()).canCreateGLPbuffer(null)) {
System.out.println("Demo requires pbuffer support");
System.exit(1);
}