14 lines
629 B
Diff
14 lines
629 B
Diff
--- a/com/mojang/blaze3d/platform/TextureUtil.java
|
|
+++ b/com/mojang/blaze3d/platform/TextureUtil.java
|
|
@@ -44,7 +44,10 @@
|
|
}
|
|
|
|
public static void prepareImage(NativeImage.PixelFormatGLCode p_prepareImage_0_, int p_prepareImage_1_, int p_prepareImage_2_, int p_prepareImage_3_, int p_prepareImage_4_) {
|
|
- bind(p_prepareImage_1_);
|
|
+ synchronized (net.minecraftforge.fml.client.SplashProgress.class)
|
|
+ {
|
|
+ bind(p_prepareImage_1_);
|
|
+ }
|
|
if (p_prepareImage_2_ >= 0) {
|
|
GlStateManager.texParameter(3553, 33085, p_prepareImage_2_);
|
|
GlStateManager.texParameter(3553, 33082, 0);
|