Update #53 - Improved FPS, reduced WebGL context loss crashes

This commit is contained in:
lax1dude
2025-07-06 12:31:55 -07:00
parent f3281c037f
commit 332a7bb11f
53 changed files with 568 additions and 383 deletions

View File

@ -598,7 +598,7 @@
~ GlStateManager.viewport(0, 0, this.displayWidth, this.displayHeight);
~ GlStateManager.clearColor(0.0f, 0.0f, 0.0f, 1.0f);
> DELETE 2 @ 2 : 4
> DELETE 1 @ 1 : 4
> DELETE 5 @ 5 : 6

View File

@ -5,13 +5,12 @@
# Version: 1.0
# Author: lax1dude
> INSERT 2 : 7 @ 2
> INSERT 2 : 6 @ 2
+ import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
+ import net.lax1dude.eaglercraft.v1_8.opengl.VertexFormat;
+ import net.lax1dude.eaglercraft.v1_8.opengl.WorldRenderer;
+ import net.lax1dude.eaglercraft.v1_8.opengl.ext.deferred.DeferredStateManager;
+ import net.lax1dude.eaglercraft.v1_8.opengl.ext.dynamiclights.DynamicLightsStateManager;
> DELETE 4 @ 4 : 5

View File

@ -89,7 +89,17 @@
~ stackTrace.append("\tat ").append(s).append('\n');
~ });
> CHANGE 1 : 2 @ 1 : 12
> CHANGE 1 : 8 @ 1 : 9
~ Throwable t = this.cause.getCause();
~ while (t != null) {
~ stackTrace.append("Caused by: " + t.toString()).append('\n');
~ EagRuntime.getStackTrace(t, (s) -> {
~ stackTrace.append("\tat ").append(s).append('\n');
~ });
~ t = t.getCause();
> CHANGE 2 : 3 @ 2 : 3
~ return stackTrace.toString();