mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Fix overzealous optimization which did interesting things to lightmapping when
not using multitexture.
This commit is contained in:
parent
28fda91e8c
commit
8c6cc34f83
1 changed files with 1 additions and 1 deletions
|
@ -657,8 +657,8 @@ R_CalcAndBlendLightmaps (void)
|
||||||
p = lightmap_polys[i];
|
p = lightmap_polys[i];
|
||||||
if (!p)
|
if (!p)
|
||||||
continue;
|
continue;
|
||||||
|
qfglBindTexture (GL_TEXTURE_2D, lightmap_textures + i);
|
||||||
if (lightmap_modified[i]) {
|
if (lightmap_modified[i]) {
|
||||||
qfglBindTexture (GL_TEXTURE_2D, lightmap_textures + i);
|
|
||||||
GL_UploadLightmap (i);
|
GL_UploadLightmap (i);
|
||||||
lightmap_modified[i] = false;
|
lightmap_modified[i] = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue