aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-06-26 16:32:35 +0200
committerSven Gothel <[email protected]>2011-06-26 16:32:35 +0200
commit7d21b3e694d716f4b8ce640127001e38cb059981 (patch)
tree4b2c83b1606f229ec98a13c8bbab055e08389a06 /src/test/com/jogamp/opengl
parentf3c91d904a22fe29f3b122085722a8b05bbae63a (diff)
Fix NEWT GL ctx/offscreen (GPUMemSec..) tests: Use pbuffer (i.e. hw accel GL driver)
Diffstat (limited to 'src/test/com/jogamp/opengl')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/util/NEWTGLContext.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/util/NEWTGLContext.java b/src/test/com/jogamp/opengl/test/junit/util/NEWTGLContext.java
index 3992c0876..a4449e6d6 100644
--- a/src/test/com/jogamp/opengl/test/junit/util/NEWTGLContext.java
+++ b/src/test/com/jogamp/opengl/test/junit/util/NEWTGLContext.java
@@ -57,6 +57,7 @@ public class NEWTGLContext {
public static WindowContext createOffscreenWindow(GLProfile glp, int width, int height, boolean debugGL) throws InterruptedException {
GLCapabilities caps = new GLCapabilities(glp);
caps.setOnscreen(false);
+ caps.setPBuffer(true);
//
// Create native windowing resources .. X11/Win/OSX