diff options
author | Kenneth Russel <[email protected]> | 2005-05-24 17:56:02 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-05-24 17:56:02 +0000 |
commit | 02acfb8e24959f43cada34366598236a51b782bb (patch) | |
tree | bcfc7b746f000c765733f97c2cf640846a593cda /src/demos | |
parent | 5c3a81ed64b3fa37dd5010297bc805368ca1fb7c (diff) |
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
Diffstat (limited to 'src/demos')
-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"); |