From 4ff184fd14376241b5a28b3a93f84a849d33f002 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 15 Apr 2010 03:46:16 +0200 Subject: Fixes to match JOGL 2ae28d54858ff684bc2368e0476a7a357dc63432 --- src/demos/proceduralTexturePhysics/Water.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/demos/proceduralTexturePhysics/Water.java') diff --git a/src/demos/proceduralTexturePhysics/Water.java b/src/demos/proceduralTexturePhysics/Water.java index f718604..593c2f0 100644 --- a/src/demos/proceduralTexturePhysics/Water.java +++ b/src/demos/proceduralTexturePhysics/Water.java @@ -214,7 +214,7 @@ public class Water { // create the pbuffer. Will use this as an offscreen rendering buffer. // it allows rendering a texture larger than our window. caps.setDoubleBuffered(false); - if (!GLDrawableFactory.getFactory(caps.getGLProfile()).canCreateGLPbuffer()) { + if (!GLDrawableFactory.getFactory(caps.getGLProfile()).canCreateGLPbuffer(null)) { throw new GLException("Pbuffers not supported with this graphics card"); } pbuffer = GLDrawableFactory.getFactory(caps.getGLProfile()).createGLPbuffer(caps, -- cgit v1.2.3