Deprecate preloadTexture, make it a no-op. Should stop derpiness with new
texturing system performance tweaks.
This commit is contained in:
parent
460eefab49
commit
1490479bd6
1 changed files with 3 additions and 3 deletions
|
@ -19,12 +19,12 @@ import net.minecraftforge.common.MinecraftForge;
|
||||||
public class MinecraftForgeClient
|
public class MinecraftForgeClient
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Preload a texture. Textures must be preloaded before the first
|
* NO-OP now. Not needed with new texturing system in MC 1.5
|
||||||
* use, or they will cause visual anomalies.
|
|
||||||
*/
|
*/
|
||||||
|
@Deprecated // without replacement
|
||||||
public static void preloadTexture(String texture)
|
public static void preloadTexture(String texture)
|
||||||
{
|
{
|
||||||
ForgeHooksClient.engine().getTexture(texture);
|
// ForgeHooksClient.engine().getTexture(texture);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static IItemRenderer[] customItemRenderers = new IItemRenderer[Item.itemsList.length];
|
private static IItemRenderer[] customItemRenderers = new IItemRenderer[Item.itemsList.length];
|
||||||
|
|
Loading…
Reference in a new issue