From bece72e7461d9127604428422f6c792be9b3ebe0 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 28 Dec 2011 21:45:20 +0900 Subject: [PATCH] Use a quick hack to get colored crosshairs working. --- libs/video/renderer/glsl/glsl_draw.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/video/renderer/glsl/glsl_draw.c b/libs/video/renderer/glsl/glsl_draw.c index 076d9a436..d314ea259 100644 --- a/libs/video/renderer/glsl/glsl_draw.c +++ b/libs/video/renderer/glsl/glsl_draw.c @@ -244,6 +244,10 @@ Draw_Init (void) int frag, vert; qpic_t *pic; + //FIXME temporary work around for the timing of cvar creation and palette + //loading + crosshaircolor->callback (crosshaircolor); + char_queue = dstring_new (); vert = GL_CompileShader ("quaketxt.vert", quaketext_vert, GL_VERTEX_SHADER); frag = GL_CompileShader ("quake2d.frag", quake2d_frag, GL_FRAGMENT_SHADER);