]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_lightning.c
don't call lightning beam vertex fogging code BEFORE the vertex data is
[xonotic/darkplaces.git] / r_lightning.c
index 4438ba77c1aecb97c99476b372c451834cf531c2..0b92492084328f68b59fb922977d52d99a042727 100644 (file)
@@ -253,7 +253,6 @@ void R_DrawLightningBeam_TransparentCallback(const entity_render_t *ent, const r
        {
                // per vertex colors if fog is used
                R_Mesh_ColorPointer(color4f, 0, 0);
-               R_FogLightningBeam_Vertex3f_Color4f(vertex3f, color4f, 12, r_lightningbeam_color_red.value * r_view.colorscale, r_lightningbeam_color_green.value * r_view.colorscale, r_lightningbeam_color_blue.value * r_view.colorscale, 1);
        }
        else
        {