Deprecate preloadTexture, make it a no-op. Should stop derpiness with new

texturing system performance tweaks.
This commit is contained in:
Christian committed 2013-04-10 18:30:25 -04:00
1 parent 460eefab49
commit 1490479bd6
1 file changed
+3 -3
@@ -19,12 +19,12 @@ import net.minecraftforge.common.MinecraftForge;
public class MinecraftForgeClient
{
/**
* Preload a texture. Textures must be preloaded before the first
* use, or they will cause visual anomalies.
* NO-OP now. Not needed with new texturing system in MC 1.5
*/
@Deprecated // without replacement
public static void preloadTexture(String texture)
{
ForgeHooksClient.engine().getTexture(texture);
// ForgeHooksClient.engine().getTexture(texture);
}
private static IItemRenderer[] customItemRenderers = new IItemRenderer[Item.itemsList.length];