]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_draw.c
removed gl_viewmodeldepthhack
[xonotic/darkplaces.git] / gl_draw.c
index 959e712d70558da646372ddf020e8012a45824b7..e104cef9099485e0942e7d52ae21f768d8172d80 100644 (file)
--- a/gl_draw.c
+++ b/gl_draw.c
@@ -391,7 +391,7 @@ void R_DrawQueue(void)
                if (color != dq->color)
                {
                        color = dq->color;
-                       glColor4ub((byte)((color >> 24) & 0xFF) >> overbright, (byte)((color >> 16) & 0xFF) >> overbright, (byte)((color >> 8) & 0xFF) >> overbright, (byte)(color & 0xFF));
+                       glColor4ub((byte)(((color >> 24) & 0xFF) >> overbright), (byte)(((color >> 16) & 0xFF) >> overbright), (byte)(((color >> 8) & 0xFF) >> overbright), (byte)(color & 0xFF));
                }
                x = dq->x;
                y = dq->y;