aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-07 07:54:50 +0200
committerSven Gothel <[email protected]>2011-08-07 07:54:50 +0200
commit6dafa27a84006502467b609efcf9aa35df2a769d (patch)
treeaba1cd22038cbb4a0ba60d8db60090690703500f
parent733cdc016ebd9764330f347febd39452e2be0535 (diff)
pbuffer caps fix: offscreen -> false
-rw-r--r--src/jogl/classes/jogamp/opengl/GLGraphicsConfigurationUtil.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLGraphicsConfigurationUtil.java b/src/jogl/classes/jogamp/opengl/GLGraphicsConfigurationUtil.java
index 066ea8120..19a664071 100644
--- a/src/jogl/classes/jogamp/opengl/GLGraphicsConfigurationUtil.java
+++ b/src/jogl/classes/jogamp/opengl/GLGraphicsConfigurationUtil.java
@@ -138,6 +138,7 @@ public class GLGraphicsConfigurationUtil {
// fix caps ..
GLCapabilities caps2 = (GLCapabilities) capsRequested.cloneMutable();
caps2.setDoubleBuffered(false); // FIXME DBLBUFOFFSCRN
+ caps2.setOnscreen(false);
caps2.setPBuffer(true);
return caps2;
}