summaryrefslogtreecommitdiffstats
path: root/src/demos/texture/TextureConvert.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/texture/TextureConvert.java')
-rwxr-xr-xsrc/demos/texture/TextureConvert.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/demos/texture/TextureConvert.java b/src/demos/texture/TextureConvert.java
index f4af495..728aa9c 100755
--- a/src/demos/texture/TextureConvert.java
+++ b/src/demos/texture/TextureConvert.java
@@ -68,7 +68,9 @@ public class TextureConvert {
System.out.println("Pbuffer support not available (required to run this demo)");
System.exit(1);
}
- GLPbuffer pbuffer = GLDrawableFactory.getFactory().createGLPbuffer(new GLCapabilities(), null, 2, 2, null);
+ GLCapabilities caps = new GLCapabilities();
+ caps.setDoubleBuffered(false);
+ GLPbuffer pbuffer = GLDrawableFactory.getFactory().createGLPbuffer(caps, null, 2, 2, null);
pbuffer.getContext().makeCurrent();
GL gl = pbuffer.getGL();