mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Clear numLightmaps in renderergl2
This commit is contained in:
parent
4e174fd5bf
commit
1f599e62c6
1 changed files with 2 additions and 0 deletions
|
@ -248,6 +248,8 @@ static void R_LoadLightmaps( lump_t *l, lump_t *surfs ) {
|
|||
float maxIntensity = 0;
|
||||
double sumIntensity = 0;
|
||||
|
||||
tr.numLightmaps = 0;
|
||||
|
||||
len = l->filelen;
|
||||
if ( !len ) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue