diff options
author | Kenneth Russel <[email protected]> | 2005-05-05 22:56:04 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-05-05 22:56:04 +0000 |
commit | e5f602657d568b8a3ad6ac784f2d8d08921f46af (patch) | |
tree | 8844bb31d665c02d833f2f6a87442a638863f3b2 /src | |
parent | ff20ca5607c554f45991ee9b81947c6b45a01f3c (diff) |
Added gl.setSwapInterval(0) call
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@70 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src')
-rw-r--r-- | src/demos/vertexArrayRange/VertexArrayRange.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/demos/vertexArrayRange/VertexArrayRange.java b/src/demos/vertexArrayRange/VertexArrayRange.java index 3534c64..6948d4e 100644 --- a/src/demos/vertexArrayRange/VertexArrayRange.java +++ b/src/demos/vertexArrayRange/VertexArrayRange.java @@ -284,13 +284,7 @@ public class VertexArrayRange { GLU glu = drawable.getGLU(); // Try and disable synch-to-retrace for fastest framerate - if (gl.isFunctionAvailable("wglSwapIntervalEXT")) { - System.err.println("wglSwapIntervalEXT available; disabling sync-to-refresh for best framerate"); - gl.wglSwapIntervalEXT(0); - } - else { - System.err.println("wglSwapIntervalEXT not available; cannot disable sync-to-refresh"); - } + gl.setSwapInterval(0); try { ensurePresent("glVertexArrayRangeNV"); |