From c752f7117dc38eed1caa870d7c96a084cea04f88 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 25 Sep 2009 12:29:16 -0700 Subject: Fix generic no awt test case --- src/demos/swt/Snippet209.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/demos/swt') diff --git a/src/demos/swt/Snippet209.java b/src/demos/swt/Snippet209.java index d4238e2..f75d59d 100644 --- a/src/demos/swt/Snippet209.java +++ b/src/demos/swt/Snippet209.java @@ -95,6 +95,7 @@ public class Snippet209 { context.makeCurrent(); GL2 gl = context.getGL().getGL2(); + gl.setSwapInterval(1); gl.glClearColor(1.0f, 1.0f, 1.0f, 1.0f); gl.glColor3f(1.0f, 0.0f, 0.0f); gl.glHint(gl.GL_PERSPECTIVE_CORRECTION_HINT, gl.GL_NICEST); -- cgit v1.2.3