mirror of
https://github.com/GTNewHorizons/BetterP2P.git
synced 2026-11-24 22:04:32 +00:00
simplify bit shift
This commit is contained in:
1 parent
394edec04a
commit
99fd22f95e
1 file changed
+1
-1
@@ -184,7 +184,7 @@ public class GlStateManager {
|
||||
public static void enableOutlineMode(int color) {
|
||||
BUF_FLOAT_4.put(0, (float) (color >> 16 & 255) / 255.0F);
|
||||
BUF_FLOAT_4.put(1, (float) (color >> 8 & 255) / 255.0F);
|
||||
BUF_FLOAT_4.put(2, (float) (color >> 0 & 255) / 255.0F);
|
||||
BUF_FLOAT_4.put(2, (float) (color & 255) / 255.0F);
|
||||
BUF_FLOAT_4.put(3, (float) (color >> 24 & 255) / 255.0F);
|
||||
glTexEnv(8960, 8705, BUF_FLOAT_4);
|
||||
glTexEnvi(8960, 8704, 34160);
|
||||
|
||||
Reference in new issue
Block a user