Added a texture preloader to avoid render glitches on the first render.

This commit is contained in:
Eloraam committed 2011-08-05 11:58:14 +00:00
1 parent cd865a256b
commit c9bcb73636
1 file changed
+5
@@ -23,4 +23,9 @@ public class MinecraftForgeClient {
public static void unbindTexture() {
ForgeHooksClient.unbindTexture();
}
public static void preloadTexture(String texture) {
ModLoader.getMinecraftInstance().renderEngine
.getTexture(texture);
}
}