]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
patch from Blub that fixes DrawQ_Line with GLSL mode
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 21 Feb 2008 22:31:34 +0000 (22:31 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 21 Feb 2008 22:31:34 +0000 (22:31 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8121 d7cf8633-e32d-0410-b094-e92efae38249

gl_draw.c

index b1bda354f4ee203b6b4e210e541e7eea16d51e6c..01ac77bed7366928cbf66267b7ef9b351c4b2225 100644 (file)
--- 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