]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_lightning.c
implemented support for GL_ARB_texture_compression - this is controlled
[xonotic/darkplaces.git] / r_lightning.c
index 76c8ff24f5986bfce3d80e70f34a2c928df6388a..c8ff41f4eb8107dab90ba66459505ef257d23106 100644 (file)
@@ -240,6 +240,7 @@ void R_DrawLightningBeam_TransparentCallback(const entity_render_t *ent, const r
        GL_BlendFunc(GL_SRC_ALPHA, GL_ONE);
        GL_DepthMask(false);
        GL_DepthRange(0, 1);
+       GL_PolygonOffset(r_refdef.polygonfactor, r_refdef.polygonoffset);
        GL_DepthTest(true);
        if (r_lightningbeam_qmbtexture.integer && r_lightningbeamqmbtexture == NULL)
                r_lightningbeams_setupqmbtexture();