X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=gl_draw.c;h=2f4367c1c3fdd07f43f29e0757a16a6f7060ed39;hp=251009ef0ef141c3841d287f32f543e63579fb32;hb=50099d9c0934fe93646fa2792fa7a9657422333b;hpb=d49ed2e06b822fe254bb51fe3ecb46d7b7ceb2d6 diff --git a/gl_draw.c b/gl_draw.c index 251009ef..2f4367c1 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -550,6 +550,7 @@ static void _DrawQ_Setup(void) GL_DepthMask(true); GL_DepthRange(0, 1); + GL_PolygonOffset(0, 0); GL_DepthTest(false); GL_Color(1,1,1,1); GL_AlphaTest(false); @@ -945,6 +946,7 @@ void R_DrawGamma(void) R_Mesh_ResetTextureState(); GL_DepthMask(true); GL_DepthRange(0, 1); + GL_PolygonOffset(0, 0); GL_DepthTest(false); if (v_color_enable.integer) {