From 0c81c5489b0b65392b28877faf0d0e68022e6181 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 17 Jul 2013 03:32:55 +0200 Subject: Adapt to to JOGL commit 78abc89be7f3935f26802cc0db33f61fc2c65de0 - LDrawableFactory.canCreateGLPbuffer(..) add GLProfile argument, similar to canCreateFBO(..) --- src/demos/texture/TextureConvert.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/demos/texture') diff --git a/src/demos/texture/TextureConvert.java b/src/demos/texture/TextureConvert.java index cd198e0..6287acb 100755 --- a/src/demos/texture/TextureConvert.java +++ b/src/demos/texture/TextureConvert.java @@ -75,7 +75,7 @@ public class TextureConvert { caps.setDoubleBuffered(false); // Make a pbuffer to get an offscreen context - if (!GLDrawableFactory.getFactory(glp).canCreateGLPbuffer(null)) { + if (!GLDrawableFactory.getFactory(glp).canCreateGLPbuffer(null, glp)) { System.out.println("Pbuffer support not available (required to run this demo)"); System.exit(1); } -- cgit v1.2.3