Update #51 - Protocol and FPS improvements, better workspace

This commit is contained in:
lax1dude
2025-05-18 15:01:06 -07:00
parent 71c61e33fd
commit 325a6826bf
1191 changed files with 9266 additions and 187695 deletions

View File

@ -16,6 +16,7 @@
package net.lax1dude.eaglercraft.v1_8;
import net.lax1dude.eaglercraft.v1_8.internal.ContextLostError;
import net.lax1dude.eaglercraft.v1_8.internal.PlatformInput;
public class Display {
@ -83,6 +84,12 @@ public class Display {
return PlatformInput.contextLost();
}
public static void checkContextLost() {
if(PlatformInput.contextLost()) {
throw new ContextLostError();
}
}
public static boolean wasResized() {
return PlatformInput.wasResized();
}