summaryrefslogtreecommitdiffstats
path: root/src/demos/readbuffer/Main.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-10-05 03:46:59 -0700
committerSven Gothel <[email protected]>2009-10-05 03:46:59 -0700
commitb737b3b5efa42136f5b5348e09e2e592b4fc9863 (patch)
tree3fbdd37688e1852c88456a7f79c77c8d189c6470 /src/demos/readbuffer/Main.java
parent7997824464198164a74f4d20620d2f432578024c (diff)
Fix ReadBuffer ..
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);