Dont let Game.java use realtime priority
This commit is contained in:
parent
5c927942b5
commit
23fe6a9e8f
|
@ -155,7 +155,7 @@ public final class Game {
|
||||||
Keyboard.enableBuffer();
|
Keyboard.enableBuffer();
|
||||||
Mouse.create();
|
Mouse.create();
|
||||||
Sys.setTime(0);
|
Sys.setTime(0);
|
||||||
Sys.setProcessPriority(Sys.REALTIME_PRIORITY);
|
Sys.setProcessPriority(Sys.HIGH_PRIORITY);
|
||||||
System.out.println("Timer resolution: " + Sys.getTimerResolution());
|
System.out.println("Timer resolution: " + Sys.getTimerResolution());
|
||||||
// Go into orthographic projection mode.
|
// Go into orthographic projection mode.
|
||||||
gl.matrixMode(GL.PROJECTION);
|
gl.matrixMode(GL.PROJECTION);
|
||||||
|
|
Loading…
Reference in New Issue