From 43df6ed31d5144fb8fcdab51eae62fc123364a38 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 21 Feb 2013 05:59:19 +0100 Subject: TestGearsES2SWT: Fix NPE --- .../opengl/test/junit/jogl/demos/es2/swt/TestGearsES2SWT.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/swt/TestGearsES2SWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/swt/TestGearsES2SWT.java index 08e4ac26a..c6f299e83 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/swt/TestGearsES2SWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/swt/TestGearsES2SWT.java @@ -172,6 +172,12 @@ public class TestGearsES2SWT extends UITestCase { animator.setUpdateFPSFrames(60, showFPS ? System.err : null); + while(animator.isAnimating() && !canvas.isRealized() && animator.getTotalFPSDuration()