aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/github/technus/tectech/thing/block/RenderEyeOfHarmony.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/com/github/technus/tectech/thing/block/RenderEyeOfHarmony.java b/src/main/java/com/github/technus/tectech/thing/block/RenderEyeOfHarmony.java
index 62f2d49058..3e047a8c5a 100644
--- a/src/main/java/com/github/technus/tectech/thing/block/RenderEyeOfHarmony.java
+++ b/src/main/java/com/github/technus/tectech/thing/block/RenderEyeOfHarmony.java
@@ -62,6 +62,9 @@ public class RenderEyeOfHarmony extends TileEntitySpecialRenderer {
void renderStarLayer(TileEyeOfHarmony EOHRenderTile, int layer, ResourceLocation texture, float alpha) {
+ // Begin animation.
+ GL11.glPushMatrix();
+
// OpenGL settings, not sure exactly what these do.
// Disables lighting, so star is always lit (I think).
@@ -73,10 +76,6 @@ public class RenderEyeOfHarmony extends TileEntitySpecialRenderer {
// ???
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
-
- // Begin animation.
- GL11.glPushMatrix();
-
// Bind animation to layer of star.
FMLClientHandler.instance().getClient().getTextureManager().bindTexture(texture);