@@ -47,12 +47,12 @@ public static void drawBoxAtBlock(double x, double y, double z, OneColor color,
4747 GL11 .glBlendFunc (GL11 .GL_SRC_ALPHA , GL11 .GL_ONE_MINUS_SRC_ALPHA );
4848 GL11 .glEnable (GL11 .GL_BLEND );
4949 GL11 .glLineWidth (3 );
50- GlStateManager .pushAttrib ();
51- GlStateManager .pushMatrix ();
50+ // GlStateManager.pushAttrib();
51+ // GlStateManager.pushMatrix();
5252 GlStateManager .disableTexture2D ();
5353 GlStateManager .disableDepth ();
5454 GlStateManager .depthMask (false );
55- GlStateManager .disableLighting ();
55+ // GlStateManager.disableLighting();
5656
5757 GL11 .glTranslated (x , y , z );
5858
@@ -83,9 +83,9 @@ public static void drawBoxAtBlock(double x, double y, double z, OneColor color,
8383 GlStateManager .depthMask (true );
8484 GlStateManager .enableDepth ();
8585 GlStateManager .enableTexture2D ();
86- GlStateManager .enableLighting ();
87- GlStateManager .popMatrix ();
88- GlStateManager .popAttrib ();
86+ // GlStateManager.enableLighting();
87+ // GlStateManager.popMatrix();
88+ // GlStateManager.popAttrib();
8989 GL11 .glDisable (GL11 .GL_BLEND );
9090 GL11 .glColor4f (1 , 1 , 1 , 0 );
9191 GL11 .glPopMatrix ();
@@ -242,7 +242,7 @@ public static void drawText(String text, BlockPos pos, float partialTicks, Boole
242242 double distance = Math .sqrt (posX * posX + posY * posY + posZ * posZ );
243243
244244 GlStateManager .pushMatrix ();
245- GlStateManager .enableTexture2D ();
245+ // GlStateManager.enableTexture2D();
246246 GlStateManager .translate (posX , posY , posZ );
247247 GlStateManager .translate (0 , player .getEyeHeight (), 0 );
248248 GlStateManager .rotate (-rm .playerViewY , 0 , 1 , 0 );
@@ -267,7 +267,7 @@ public static void drawText(String text, BlockPos pos, float partialTicks, Boole
267267 GlStateManager .depthMask (true );
268268 }
269269 GlStateManager .disableBlend ();
270- GlStateManager .disableTexture2D ();
270+ // GlStateManager.disableTexture2D();
271271 GlStateManager .popMatrix ();
272272 }
273273
0 commit comments