From: havoc Date: Mon, 1 May 2006 12:30:03 +0000 (+0000) Subject: fix bug with gl_combine 0 transparent water rendering in q1bsp (alpha was not being... X-Git-Tag: xonotic-v0.1.0preview~4020 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=39f2a29a0208267c4f62a1469fca908bf3fd821a;p=xonotic%2Fdarkplaces.git fix bug with gl_combine 0 transparent water rendering in q1bsp (alpha was not being stored, leaving garbage (typically 0) in the vertex alpha, making the water disappear) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6345 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 0266bb48..8e43e59e 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -2801,6 +2801,7 @@ static void RSurf_DrawBatch_Lightmap(int texturenumsurfaces, msurface_t **textur } else VectorClear(c); + c[3] = 1; } } rsurface_lightmapcolor4f = rsurface_array_color4f;