mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 13:21:07 +01:00
disable vsync on windows
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user