mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 15:33:08 +00:00
Fix broken hsb calculation because mojang's function is broken. Also fix upstream issue 1672
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user