Wrap mod description rendering in BLEND calls https://github.com/MinecraftForge/MinecraftForge/issues/96
This commit is contained in:
parent
022b3e57dc
commit
e0cb8cd503
1 changed files with 2 additions and 0 deletions
|
@ -103,6 +103,7 @@ public class GuiModList extends GuiScreen
|
|||
this.func_73732_a(this.field_73886_k, "Mod List", this.field_73880_f / 2, 16, 0xFFFFFF);
|
||||
int offset = this.listWidth + 20;
|
||||
if (selectedMod != null) {
|
||||
GL11.glEnable(GL11.GL_BLEND);
|
||||
if (!selectedMod.getMetadata().autogenerated) {
|
||||
int shifty = 35;
|
||||
if (!selectedMod.getMetadata().logoFile.isEmpty())
|
||||
|
@ -142,6 +143,7 @@ public class GuiModList extends GuiScreen
|
|||
this.func_73732_a(this.field_73886_k, "No mod information found", offset, 65, 0xDDDDDD);
|
||||
this.func_73732_a(this.field_73886_k, "Ask your mod author to provide a mod mcmod.info file", offset, 75, 0xDDDDDD);
|
||||
}
|
||||
GL11.glDisable(GL11.GL_BLEND);
|
||||
}
|
||||
super.func_73863_a(p_571_1_, p_571_2_, p_571_3_);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue