diff options
author | Sven Gothel <[email protected]> | 2009-09-25 12:29:16 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-09-25 12:29:16 -0700 |
commit | c752f7117dc38eed1caa870d7c96a084cea04f88 (patch) | |
tree | 6b238f787c0b8c01cf209f495541b4bf7e44407f /src/demos/swt/Snippet209.java | |
parent | b4b7d23fd7a6e1bb8c6545a0e82d811244b5e2a7 (diff) |
Fix generic no awt test case
Diffstat (limited to 'src/demos/swt/Snippet209.java')
-rw-r--r-- | src/demos/swt/Snippet209.java | 1 |
1 files changed, 1 insertions, 0 deletions
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); |