aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/com/jogamp/opengl')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/newt/parenting/GLRunnableDummy.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01cSwingAWT.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/parenting/GLRunnableDummy.java b/src/test/com/jogamp/opengl/test/junit/newt/parenting/GLRunnableDummy.java
index d518616b1..620219dc7 100644
--- a/src/test/com/jogamp/opengl/test/junit/newt/parenting/GLRunnableDummy.java
+++ b/src/test/com/jogamp/opengl/test/junit/newt/parenting/GLRunnableDummy.java
@@ -40,7 +40,7 @@ public class GLRunnableDummy implements GLRunnable {
float r=0.0f;
float g=0.0f;
float b=0.0f;
- float d=0.001f;
+ float d=0.1f;
public void run(GLAutoDrawable drawable) {
GL2ES1 gl = drawable.getGL().getGL2ES1();
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01cSwingAWT.java b/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01cSwingAWT.java
index d7f3192bb..949fb29df 100644
--- a/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01cSwingAWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting01cSwingAWT.java
@@ -95,7 +95,7 @@ public class TestParenting01cSwingAWT extends UITestCase {
{
try {
_glWindow1.invoke(true, _glRunnable);
- Thread.yield();
+ Thread.sleep(100);
} catch (Throwable t) {}
}
}
@@ -206,7 +206,7 @@ public class TestParenting01cSwingAWT extends UITestCase {
{
try {
_glWindow1.invoke(true, _glRunnable);
- Thread.yield();
+ Thread.sleep(100);
} catch (Throwable t) {}
}
}