Fix various gcc warning related to signed/unsigned parameters passed to

OpenGL functions.
This commit is contained in:
Ken Hughes
2007-03-17 14:15:02 +00:00
parent bd04d23465
commit 4e72e4ad2b
10 changed files with 44 additions and 44 deletions

View File

@@ -430,7 +430,7 @@ void drawLine(float *center, float *dir, char axis, short options)
BIF_GetThemeColor3ubv(TH_GRID, col);
}
make_axis_color(col, col2, axis);
glColor3ubv(col2);
glColor3ubv((GLubyte *)col2);
setlinestyle(0);
glBegin(GL_LINE_STRIP);