summaryrefslogtreecommitdiff
path: root/src/gl_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl_main.c')
-rw-r--r--src/gl_main.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/gl_main.c b/src/gl_main.c
index ec3d9a6..6993fbd 100644
--- a/src/gl_main.c
+++ b/src/gl_main.c
@@ -338,13 +338,10 @@ static void GL_DrawSpriteModel( model_t *model ) {
}
static void GL_DrawNullModel( void ) {
- static const color_t colors[6] = {
- { 255, 0, 0, 255 },
- { 255, 0, 0, 255 },
- { 0, 255, 0, 255 },
- { 0, 255, 0, 255 },
- { 0, 0, 255, 255 },
- { 0, 0, 255, 255 }
+ static const uint32_t colors[6] = {
+ U32_RED, U32_RED,
+ U32_GREEN, U32_GREEN,
+ U32_BLUE, U32_BLUE
};
entity_t *e = glr.ent;
vec3_t points[6];