Fix overzealous optimization which did interesting things to lightmapping when

not using multitexture.
This commit is contained in:
Ragnvald Maartmann-Moe IV 2004-02-27 21:36:41 +00:00
parent 28fda91e8c
commit 8c6cc34f83
1 changed files with 1 additions and 1 deletions

View File

@ -657,8 +657,8 @@ R_CalcAndBlendLightmaps (void)
p = lightmap_polys[i];
if (!p)
continue;
if (lightmap_modified[i]) {
qfglBindTexture (GL_TEXTURE_2D, lightmap_textures + i);
if (lightmap_modified[i]) {
GL_UploadLightmap (i);
lightmap_modified[i] = false;
}