summaryrefslogtreecommitdiffstats
path: root/src/demos/proceduralTexturePhysics
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-03 21:56:49 +0100
committerSven Gothel <[email protected]>2010-12-03 21:56:49 +0100
commit36822056c0a4adbec74676f135f87105aaa0b3b8 (patch)
tree45185994538041542f854b3b552481f04ac8d383 /src/demos/proceduralTexturePhysics
parent38563a43dbb6ea5b0b18c0eb87a19a2e40a6f067 (diff)
Adapt JOGL API Cleanup: 4b9ad2508ff31a03d3bc4482d812a6cbc0c5c33b
Diffstat (limited to 'src/demos/proceduralTexturePhysics')
-rw-r--r--src/demos/proceduralTexturePhysics/Water.java4
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());