mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-27 18:38:14 -05:00
Update #14 - Fixed stupid mistake in the u13 FPS boost patch
This commit is contained in:
@ -77,7 +77,12 @@
|
||||
|
||||
~ for (Score score1 : (List<Score>) arraylist1) {
|
||||
|
||||
> INSERT 64 : 65 @ 64
|
||||
> INSERT 40 : 42 @ 40
|
||||
|
||||
+ GlStateManager.enableBlend();
|
||||
+ GlStateManager.tryBlendFuncSeparate(770, 771, 1, 0);
|
||||
|
||||
> INSERT 24 : 25 @ 24
|
||||
|
||||
+ this.mc.getTextureManager().bindTexture(icons);
|
||||
|
||||
|
@ -138,7 +138,7 @@
|
||||
|
||||
> DELETE 39 @ 39 : 52
|
||||
|
||||
> CHANGE 4 : 41 @ 4 : 5
|
||||
> CHANGE 4 : 43 @ 4 : 5
|
||||
|
||||
~ long framebufferAge = this.overlayFramebuffer.getAge();
|
||||
~ if (framebufferAge == -1l || framebufferAge > (Minecraft.getDebugFPS() < 25 ? 125l : 75l)) {
|
||||
@ -146,7 +146,9 @@
|
||||
~ GlStateManager.colorMask(true, true, true, true);
|
||||
~ GlStateManager.clearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
~ GlStateManager.clear(16640);
|
||||
~ GlStateManager.enableOverlayFramebufferBlending();
|
||||
~ this.mc.ingameGUI.renderGameOverlay(parFloat1);
|
||||
~ GlStateManager.disableOverlayFramebufferBlending();
|
||||
~ this.overlayFramebuffer.endRender();
|
||||
~ }
|
||||
~ this.setupOverlayRendering();
|
||||
@ -158,7 +160,7 @@
|
||||
~ GlStateManager.bindTexture(this.overlayFramebuffer.getTexture());
|
||||
~ GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
~ GlStateManager.enableBlend();
|
||||
~ GlStateManager.blendFunc(770, 771);
|
||||
~ GlStateManager.blendFunc(1, 771);
|
||||
~ GlStateManager.disableAlpha();
|
||||
~ GlStateManager.disableDepth();
|
||||
~ GlStateManager.depthMask(false);
|
||||
|
Reference in New Issue
Block a user