From: havoc Date: Thu, 21 Feb 2008 22:31:34 +0000 (+0000) Subject: patch from Blub that fixes DrawQ_Line with GLSL mode X-Git-Tag: xonotic-v0.1.0preview~2401 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c50e91dcf10f2314ca1ec818f1dc82441bd852f8;p=xonotic%2Fdarkplaces.git 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 --- 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