summaryrefslogtreecommitdiffstats
path: root/src/demos/readbuffer/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/readbuffer/Main.java')
-rwxr-xr-xsrc/demos/readbuffer/Main.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/demos/readbuffer/Main.java b/src/demos/readbuffer/Main.java
index cf281b6..cbe9cfd 100755
--- a/src/demos/readbuffer/Main.java
+++ b/src/demos/readbuffer/Main.java
@@ -58,6 +58,7 @@ public class Main implements WindowListener, MouseListener, SurfaceUpdatedListen
GLCapabilities capsOffscreen = (GLCapabilities) caps.clone();
capsOffscreen.setOnscreen(false);
capsOffscreen.setPBuffer(true);
+ capsOffscreen.setDoubleBuffered(false);
GLWindow windowOffscreen = GLWindow.create(capsOffscreen);
windowOffscreen.enablePerfLog(true);
windowOffscreen.setSize(w, h);