diff options
author | Sven Gothel <[email protected]> | 2013-07-17 03:32:55 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-07-17 03:32:55 +0200 |
commit | 0c81c5489b0b65392b28877faf0d0e68022e6181 (patch) | |
tree | 7fb6cf03bd8927c4fe2de41a5f376a63e3faabbe /src/demos/proceduralTexturePhysics/Water.java | |
parent | d2d20162fe199b1b7c79d46530d0bb29780beeeb (diff) |
Adapt to to JOGL commit 78abc89be7f3935f26802cc0db33f61fc2c65de0 - LDrawableFactory.canCreateGLPbuffer(..) add GLProfile argument, similar to canCreateFBO(..)v2.0.2
Diffstat (limited to 'src/demos/proceduralTexturePhysics/Water.java')
-rw-r--r-- | src/demos/proceduralTexturePhysics/Water.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/proceduralTexturePhysics/Water.java b/src/demos/proceduralTexturePhysics/Water.java index d62379b..94ed0ce 100644 --- a/src/demos/proceduralTexturePhysics/Water.java +++ b/src/demos/proceduralTexturePhysics/Water.java @@ -215,7 +215,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(null)) { + if (!GLDrawableFactory.getFactory(caps.getGLProfile()).canCreateGLPbuffer(null, caps.getGLProfile())) { throw new GLException("Pbuffers not supported with this graphics card"); } pbuffer = GLDrawableFactory.getFactory(caps.getGLProfile()).createGLPbuffer( |