Merge pull request #39 from KosmosPrime/master

Update GuiManual.java
This commit is contained in:
boni committed 2015-08-07 20:42:11 +02:00
commit d997586c8c
1 file changed
+3
+3
View File
@@ -657,10 +657,13 @@ public class SmallFontRenderer implements IResourceManagerReloadListener
this.blue = (float) (par4 >> 8 & 255) / 255.0F;
this.green = (float) (par4 & 255) / 255.0F;
this.alpha = (float) (par4 >> 24 & 255) / 255.0F;
boolean gl_blend = GL11.glIsEnabled(GL11.GL_BLEND);
if (!gl_blend) GL11.glEnable(GL11.GL_BLEND);
GL11.glColor4f(this.red, this.blue, this.green, this.alpha);
this.posX = (float) par2;
this.posY = (float) par3;
this.renderStringAtPos(par1Str, par5);
if (!gl_blend) GL11.glDisable(GL11.GL_BLEND);
return (int) this.posX;
}
}