Merge upstream release 245

This commit is contained in:
Vincent Lee committed 2015-12-21 12:47:58 -06:00
commit dbb549ba2a
57 files changed
+734 -108

No files matched your search

@@ -67,7 +67,7 @@ public class ModelHourglass extends ModelBase {
base2.render(f);
Color c = new Color(color);
GlStateManager.color((byte) c.getRed(), (byte) c.getGreen(), (byte) c.getBlue());
boolean normalize = GL11.glGetBoolean(GL11.GL_NORMALIZE);
GL11.glPushAttrib(GL11.GL_NORMALIZE);
GlStateManager.enableNormalize();
if(fract1 > 0) {
@@ -98,8 +98,7 @@ public class ModelHourglass extends ModelBase {
GlStateManager.popMatrix();
}
if(!normalize)
GlStateManager.disableNormalize();
GL11.glPopAttrib();
GlStateManager.color(1F, 1F, 1F);
glass1.render(f);
glass2.render(f);