X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=r_explosion.c;h=48ce2ef3ec4e3566f524cd74b7085d4633aaff0d;hp=f73e5cc9f2664cab90d382ab5391c56a5070f46d;hb=50099d9c0934fe93646fa2792fa7a9657422333b;hpb=d49ed2e06b822fe254bb51fe3ecb46d7b7ceb2d6 diff --git a/r_explosion.c b/r_explosion.c index f73e5cc9..48ce2ef3 100644 --- a/r_explosion.c +++ b/r_explosion.c @@ -188,6 +188,7 @@ static void R_DrawExplosion_TransparentCallback(const entity_render_t *ent, cons 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); GL_CullFace(GL_FRONT); // quake is backwards, this culls back faces R_Mesh_Matrix(&identitymatrix);