FPS limiter :)

This commit is contained in:
Duy Tran Khanh committed 2021-08-08 17:34:09 +07:00
1 parent 0212022859
commit 934f4f1354
1 file changed
+2 -2
@@ -1140,12 +1140,12 @@ public class GLFW
public static void glfwWaitEventsTimeout(double timeout) {
// Boardwalk: this isn't how you do a frame limiter, but oh well
// System.out.println("Frame limiter");
/*
try {
Thread.sleep((long)(timeout * 1000));
} catch (InterruptedException ie) {
}
*/
// System.out.println("Out of the frame limiter");
}