summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-08-31 04:25:52 +0200
committerSven Gothel <[email protected]>2014-08-31 04:25:52 +0200
commit359ecbdd9cefaabeb1050be706ddeb020e5b6c37 (patch)
tree7dbbe3f1f3bc3c32a75f80e1f611e751a9198502 /src/test/com/jogamp
parent7dbd7fcf9c5e5d6f48ee22f0e327902eb78614d2 (diff)
TestGLReadBuffer01GLJPanelAWT: Add keyFrame-wait after init
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLReadBuffer01GLJPanelAWT.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLReadBuffer01GLJPanelAWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLReadBuffer01GLJPanelAWT.java
index fd2ac6833..599392d0c 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLReadBuffer01GLJPanelAWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLReadBuffer01GLJPanelAWT.java
@@ -127,6 +127,9 @@ public class TestGLReadBuffer01GLJPanelAWT extends GLReadBuffer00BaseAWT {
throwable.printStackTrace();
Assume.assumeNoException( throwable );
}
+ if( keyFrame ) {
+ waitForKey("Post init: Frame# "+textRendererGLEL.frameNo);
+ }
glad.display(); // trigger initialization to get chosen-caps!
final Dimension size0 = frame.getSize();
final Dimension size1 = new Dimension(size0.width+100, size0.height+100);