Fix loading text not rendering after mojang logo appears
This commit is contained in:
parent
208ca23515
commit
c7a17946a5
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ import com.mojang.blaze3d.systems.RenderSystem;
|
|||
|
||||
import net.minecraft.client.MainWindow;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.AbstractGui;
|
||||
import net.minecraft.util.math.MathHelper;
|
||||
import net.minecraftforge.fml.loading.progress.StartupMessageManager;
|
||||
import org.apache.commons.lang3.tuple.Pair;
|
||||
|
@ -114,6 +115,7 @@ public class EarlyLoaderGUI {
|
|||
GL14.glVertexPointer(2, GL11.GL_FLOAT, 16, charBuffer);
|
||||
|
||||
RenderSystem.enableBlend();
|
||||
RenderSystem.disableTexture();
|
||||
GL14.glBlendColor(0,0,0, alpha);
|
||||
RenderSystem.blendFunc(GlStateManager.SourceFactor.CONSTANT_ALPHA, GlStateManager.DestFactor.ONE_MINUS_CONSTANT_ALPHA);
|
||||
RenderSystem.color3f(colour[0],colour[1],colour[2]);
|
||||
|
|
Loading…
Reference in a new issue