mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 19:59:42 +00:00
Deprecate preloadTexture, make it a no-op. Should stop derpiness with new
texturing system performance tweaks.
This commit is contained in:
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];
|
||||
|
||||
Reference in new issue
Block a user