Fix some derpy

This commit is contained in:
Christian Weeks 2012-05-15 22:18:41 -04:00
parent 25ced3f321
commit 1b299b4ff4
2 changed files with 4 additions and 4 deletions

View file

@ -138,7 +138,7 @@ public class FMLClientHandler implements IFMLSidedHandler
private HashMap<KeyBinding, ModContainer> keyBindings = new HashMap<KeyBinding, ModContainer>();
private HashSet<OverrideInfo> animationSet = new HashSet<OverrideInfo>();
private List<TextureFX> addedTextureFX;
private List<TextureFX> addedTextureFX = new ArrayList<TextureFX>();
/**
* Called to start the whole game off from

View file

@ -95,9 +95,9 @@
}
+ GL11.glBindTexture(GL11.GL_TEXTURE_2D, func_1070_a("/terrain.png"));
+ int tileSize = GL11.glGetTexLevelParameteri(GL_TEXTURE_2D, 0, GL_TEXTURE_WIDTH ) >> 4;
+ int tileSizeSquare = TextureFX.tileSize*TextureFX.tileSize;
+ int tileSizeMask = TextureFX.tileSize - 1;
+ int tileSizeSquareMask = TextureFX.tileSizeSquare - 1;
+ int tileSizeSquare = tileSize*tileSize;
+ int tileSizeMask = tileSize - 1;
+ int tileSizeSquareMask = tileSizeSquare - 1;
+
+ FMLClientHandler.instance().preTexturePackChange(var1, tileSize, tileSizeSquare, tileSizeMask, tileSizeSquareMask);
+