mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-24 05:54:27 +00:00
collapse continuous glPushAttrib into one call (#82)
This commit is contained in:
1 parent
2dce4873b7
commit
52b0cabc0b
5 files changed
+5
-15
No files matched your search
@@ -405,11 +405,9 @@ public class GuiHyperCube extends GuiContainerBaseEIO {
|
||||
|
||||
@Override
|
||||
public void drawHoveringText(List par1List, int par2, int par3, FontRenderer font) {
|
||||
GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
|
||||
GL11.glPushAttrib(GL11.GL_LIGHTING_BIT);
|
||||
GL11.glPushAttrib(GL11.GL_ENABLE_BIT | GL11.GL_LIGHTING_BIT);
|
||||
super.drawHoveringText(par1List, par2, par3, font);
|
||||
GL11.glPopAttrib();
|
||||
GL11.glPopAttrib();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user