diff options
Diffstat (limited to 'src/demos/proceduralTexturePhysics/Water.java')
-rw-r--r-- | src/demos/proceduralTexturePhysics/Water.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/proceduralTexturePhysics/Water.java b/src/demos/proceduralTexturePhysics/Water.java index 1710ef4..3e4fad4 100644 --- a/src/demos/proceduralTexturePhysics/Water.java +++ b/src/demos/proceduralTexturePhysics/Water.java @@ -218,8 +218,8 @@ public class Water { if (!GLDrawableFactory.getFactory(caps.getGLProfile()).canCreateGLPbuffer(null)) { throw new GLException("Pbuffers not supported with this graphics card"); } - pbuffer = GLDrawableFactory.getFactory(caps.getGLProfile()).createGLPbuffer(caps, - null, + pbuffer = GLDrawableFactory.getFactory(caps.getGLProfile()).createGLPbuffer( + null, caps, null, initialMapDimensions[0], initialMapDimensions[1], parentWindow.getContext()); |