disable vsync on windows

This commit is contained in:
codeanticode
2012-02-24 23:33:25 +00:00
parent ac1659c93c
commit 1956c0ed4a

View File

@@ -281,6 +281,9 @@ public class PGL {
public void updatePrimary() {
gl = context.getGL();
gl2 = gl.getGL2();
// disables vsync (framerate cap) on windows
gl.setSwapInterval(0);
}
public void updateOffscreen(PGL primary) {