]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_main.c
Fix compile of vid_glx.c after the update on hwgamma.
[xonotic/darkplaces.git] / cl_main.c
index b13cb5f4085914d2a0d8fd293830e0555ed1cf20..ebde7dae978654ee2e576c4a951e77c8c3e0af65 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -1776,7 +1776,10 @@ void CL_RelinkBeams(void)
                                r_refdef.scene.lights[r_refdef.scene.numlights] = &r_refdef.scene.templights[r_refdef.scene.numlights];r_refdef.scene.numlights++;
                        }
                        if (cl_beams_polygons.integer)
+                       {
+                               CL_Beam_AddPolygons(b);
                                continue;
+                       }
                }
 
                // calculate pitch and yaw