fix endless loop caused by Sys#getSystemTime()

This commit is contained in:
ShirosakiMio 2023-07-24 11:47:04 +08:00
parent 2990dbaeb5
commit dd8f996179
3 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
1690060377091
1690170281434

View File

@ -91,7 +91,7 @@ public final class Sys {
* @return the current hires time, in ticks (always >= 0)
*/
public static long getTime() {
return GLFW.glfwGetTimerValue();
return System.currentTimeMillis();
}
public static long getNanoTime() {