From e5f602657d568b8a3ad6ac784f2d8d08921f46af Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Thu, 5 May 2005 22:56:04 +0000 Subject: 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 --- src/demos/vertexArrayRange/VertexArrayRange.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src') 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"); -- cgit v1.2.3