enable blend mode and push enable bit as done by IconButtonEIO

This commit is contained in:
Matthias Mann committed 2015-04-20 03:39:41 +02:00
1 parent 4869fc7b82
commit 5f366f95c0
1 file changed
+3
@@ -99,6 +99,9 @@ public class VScrollbarEIO {
}
RenderUtil.bindTexture(IconEIO.TEXTURE);
GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
GL11.glColor3f(1, 1, 1);
Tessellator tes = Tessellator.instance;