diff options
Diffstat (limited to 'src/demos/misc')
-rwxr-xr-x | src/demos/misc/TiledRendering.java | 2 |
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); } |