From c50e91dcf10f2314ca1ec818f1dc82441bd852f8 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 21 Feb 2008 22:31:34 +0000 Subject: [PATCH] patch from Blub that fixes DrawQ_Line with GLSL mode git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8121 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_draw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gl_draw.c b/gl_draw.c index b1bda354..01ac77be 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -1194,6 +1194,8 @@ void DrawQ_Line (float width, float x1, float y1, float x2, float y2, float r, f { _DrawQ_ProcessDrawFlag(flags); + R_SetupGenericShader(false); + CHECKGLERROR qglLineWidth(width);CHECKGLERROR -- 2.39.2