Fix remaining errors when compiling against GL ES 1.1 headers
[neverball] / share / item.c
index 1d49e3b..d1b8aea 100644 (file)
@@ -114,7 +114,7 @@ const struct d_mtrl *item_draw(const struct d_mtrl *mq,
 
     item_color(hp, c);
 
-    glColor4fv(c);
+    glColor4f(c[0], c[1], c[2], c[3]);
 
     glDepthMask(GL_FALSE);
     {