Fix broken hsb calculation because mojang's function is broken. Also fix upstream issue 1672

This commit is contained in:
Vincent Lee committed 2016-06-17 19:41:59 -05:00
1 parent 6b10ada28a
commit 9fef518968
9 files changed
+11 -11

No files matched your search

@@ -66,7 +66,7 @@ public class ModelHourglass extends ModelBase {
base2.render(f);
Color c = new Color(color);
GL11.glColor3ub((byte) c.getRed(), (byte) c.getGreen(), (byte) c.getBlue());
GL11.glPushAttrib(GL11.GL_NORMALIZE);
GL11.glPushAttrib(GL11.GL_TRANSFORM_BIT);
GlStateManager.enableNormalize();
if(fract1 > 0) {