]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_video.c
Add CL_MeshEntities_*, every frame in the client all MESH_ entities are added to...
[xonotic/darkplaces.git] / cl_video.c
index f23dc928edb523073d7e3903eabef473c76f749c..bcaa85b1b4e8d4a904f709e4742ebdbe101df49c 100644 (file)
@@ -540,7 +540,7 @@ void CL_DrawVideo(void)
        if (qglPolygonStipple && !scr_stipple.integer && cl_video_stipple.integer)
        {
                GLubyte stipple[128];
-               int i, s, width, parts;
+               int s, width, parts;
        
                s = cl_video_stipple.integer;
                parts = (s & 007);
@@ -568,7 +568,9 @@ void CL_DrawVideo(void)
 #ifndef USE_GLES2
        // disable video-only stipple
        if (qglPolygonStipple && !scr_stipple.integer && cl_video_stipple.integer)
+       {
                qglDisable(GL_POLYGON_STIPPLE);CHECKGLERROR
+       }
 #endif
 
        // VorteX: draw subtitle_text