diff options
-rw-r--r-- | src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java b/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java index 9fa329d..d2a04af 100644 --- a/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java +++ b/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java @@ -128,6 +128,7 @@ public class ProceduralTexturePhysics { public void init(GLDrawable drawable) { GL gl = drawable.getGL(); + gl.setSwapInterval(1); try { checkExtension(gl, "GL_ARB_multitexture"); |