Skip to content

Commit

Permalink
Merge pull request #39 from KosmosPrime/master
Browse files Browse the repository at this point in the history
Update GuiManual.java
  • Loading branch information
bonii-xx committed Aug 7, 2015
2 parents e7ba871 + 0595464 commit d997586
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mantle/client/SmallFontRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -657,10 +657,13 @@ private int renderString (String par1Str, int par2, int par3, int par4, boolean
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;
}
}
Expand Down

0 comments on commit d997586

Please sign in to comment.