Skip to content

Commit 9d8fc8f

Browse files
committed
Fix tree flickering after viewing a Machine recipe with MipMaps enabled
Fixes #341
1 parent 68b7807 commit 9d8fc8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/dave/compactmachines3/jei/MultiblockRecipeWrapper.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ public void drawInfo(Minecraft mc, int recipeWidth, int recipeHeight, int mouseX
125125
GlStateManager.glPolygonMode(GL11.GL_FRONT_AND_BACK, GL11.GL_FILL);
126126
}
127127

128+
textureManager.bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE);
129+
textureManager.getTexture(TextureMap.LOCATION_BLOCKS_TEXTURE).restoreLastBlurMipmap();
130+
128131
GlStateManager.popMatrix();
129132
}
130133
}

0 commit comments

Comments
 (0)