]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.c
Removed a few warnings in MSVC6
[xonotic/darkplaces.git] / gl_backend.c
index c4d6228498d1bbdcc0a71ecc8cfc8440c8efed67..5531944ce6f249494193587a59dfe17707ff3a8f 100644 (file)
@@ -556,7 +556,7 @@ void GL_ColorMask(int r, int g, int b, int a)
                if (r_showtrispass)
                        return;
                gl_state.colormask = state;
-               qglColorMask(r, g, b, a);CHECKGLERROR
+               qglColorMask((GLboolean)r, (GLboolean)g, (GLboolean)b, (GLboolean)a);CHECKGLERROR
        }
 }