diff options
Diffstat (limited to 'src/demos')
-rw-r--r-- | src/demos/gears/Gears.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/demos/gears/Gears.java b/src/demos/gears/Gears.java index 17f1330..775dcf0 100644 --- a/src/demos/gears/Gears.java +++ b/src/demos/gears/Gears.java @@ -55,6 +55,8 @@ public class Gears { GL gl = drawable.getGL(); System.err.println("INIT GL IS: " + gl.getClass().getName()); + gl.setSwapInterval(1); + float pos[] = { 5.0f, 5.0f, 10.0f, 0.0f }; float red[] = { 0.8f, 0.1f, 0.0f, 1.0f }; float green[] = { 0.0f, 0.8f, 0.2f, 1.0f }; |