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 f54eecb455
commit 6accd6dfee
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);
}
}