diff options
author | Sven Gothel <[email protected]> | 2010-04-15 03:46:16 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-04-15 03:46:16 +0200 |
commit | 4ff184fd14376241b5a28b3a93f84a849d33f002 (patch) | |
tree | 10bf9a19fcded63b0132ec9e626a986595985464 /src/demos/hwShadowmapsSimple | |
parent | aa2f05ff1ab182fdb6f724a6aedf91de201efe7e (diff) |
Fixes to match JOGL 2ae28d54858ff684bc2368e0476a7a357dc63432
Diffstat (limited to 'src/demos/hwShadowmapsSimple')
-rw-r--r-- | src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java index 6760161..0873d63 100644 --- a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java +++ b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java @@ -272,7 +272,7 @@ public class HWShadowmapsSimple extends Demo { GLCapabilities caps = new GLCapabilities(gl.getGLProfile()); caps.setDoubleBuffered(false); - if (!GLDrawableFactory.getFactory(gl.getGLProfile()).canCreateGLPbuffer()) { + if (!GLDrawableFactory.getFactory(gl.getGLProfile()).canCreateGLPbuffer(null)) { unavailableExtension("Can not create pbuffer"); } if (pbuffer != null) { |