aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-09-21 08:28:42 +0200
committerSven Gothel <[email protected]>2012-09-21 08:28:42 +0200
commit459af1bba130495943e51ff289a094b602c642cd (patch)
treea0c4d606dd702f3d6ded054d7c4a52ae2f109797 /src/test/com/jogamp/opengl
parent5b378cb2cd162cb9af44812c37935eb3a83aabd2 (diff)
MacOSXCGLContext: Fix missing initialization of 'needsSetContextPBuffer' if not offscreen-layer.
Diffstat (limited to 'src/test/com/jogamp/opengl')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGPUMemSec01NEWT.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGPUMemSec01NEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGPUMemSec01NEWT.java
index bebe3531e..60803433d 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGPUMemSec01NEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGPUMemSec01NEWT.java
@@ -61,6 +61,8 @@ public class TestGPUMemSec01NEWT extends UITestCase {
new GLCapabilities(glp), width, height, true);
final GL gl = winctx.context.getGL();
+ // System.err.println("Pre GL Error: 0x"+Integer.toHexString(gl.glGetError()));
+ // System.err.println(winctx.drawable);
Assert.assertEquals(GL.GL_NO_ERROR, gl.glGetError());
// misc GL setup
@@ -249,7 +251,7 @@ public class TestGPUMemSec01NEWT extends UITestCase {
NEWTGLContext.destroyWindow(winctx);
}
-
+
@Test
public void testReadPixelsGL_99x100xRGBxUB() throws InterruptedException {
GLProfile glp = GLProfile.getGL2ES2();