From 02acfb8e24959f43cada34366598236a51b782bb Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Tue, 24 May 2005 17:56:02 +0000 Subject: Enabled sync-to-vertical-refresh for ProceduralTexturePhysics demo git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@79 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java | 1 + 1 file changed, 1 insertion(+) 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"); -- cgit v1.2.3