]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix bug with gl_combine 0 transparent water rendering in q1bsp (alpha was not being...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 1 May 2006 12:30:03 +0000 (12:30 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 1 May 2006 12:30:03 +0000 (12:30 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6345 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 0266bb4878faf37ca33ac9a938c64df265e3f05d..8e43e59ebf35c09edf0e8c960c93535c792676f4 100644 (file)
@@ -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;