FPS limiter :)
This commit is contained in:
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");
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user