From 7d21b3e694d716f4b8ce640127001e38cb059981 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 26 Jun 2011 16:32:35 +0200 Subject: Fix NEWT GL ctx/offscreen (GPUMemSec..) tests: Use pbuffer (i.e. hw accel GL driver) --- src/test/com/jogamp/opengl/test/junit/util/NEWTGLContext.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test') 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 -- cgit v1.2.3