From e0cb8cd503289bcacc87deb4e39a504328057c7c Mon Sep 17 00:00:00 2001 From: LexManos Date: Wed, 15 Aug 2012 02:52:29 -0700 Subject: [PATCH] Wrap mod description rendering in BLEND calls https://github.com/MinecraftForge/MinecraftForge/issues/96 --- fml/client/cpw/mods/fml/client/GuiModList.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fml/client/cpw/mods/fml/client/GuiModList.java b/fml/client/cpw/mods/fml/client/GuiModList.java index 1e9d548bdc..2085f15e47 100644 --- a/fml/client/cpw/mods/fml/client/GuiModList.java +++ b/fml/client/cpw/mods/fml/client/GuiModList.java @@ -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_); }