mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-07-14 11:29:58 -05:00
Update #53 - Improved FPS, reduced WebGL context loss crashes
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user