mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-14 01:04:16 +00:00
Fix a memory leak.
This commit is contained in:
1 parent
284614841d
commit
507ac6c3e3
1 file changed
-2
@@ -34,10 +34,8 @@ public class RenderTileHourglass extends TileEntitySpecialRenderer {
|
||||
@Override
|
||||
public void renderTileEntityAt(TileEntity tileentity, double d0, double d1, double d2, float ticks) {
|
||||
TileHourglass hourglass = (TileHourglass) tileentity;
|
||||
model = new ModelHourglass();
|
||||
|
||||
GL11.glPushMatrix();
|
||||
//GL11.glEnable(GL12.GL_RESCALE_NORMAL);
|
||||
GL11.glEnable(GL11.GL_BLEND);
|
||||
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
|
||||
GL11.glColor4f(1F, 1F, 1F, 1F);
|
||||
|
||||
Reference in new issue
Block a user