Browse Source

ref_gl: fix #52

pull/2/head
Alibek Omarov 6 years ago
parent
commit
2202e13a61
  1. 2
      ref_gl/gl_rsurf.c

2
ref_gl/gl_rsurf.c

@ -2910,7 +2910,7 @@ static qboolean R_CheckLightMap( msurface_t *fa ) @@ -2910,7 +2910,7 @@ static qboolean R_CheckLightMap( msurface_t *fa )
}
// already up to date
if( !is_dynamic && ( fa->dlightframe != tr.framecount || maps == MAX_LIGHTMAPS ) )
if( !is_dynamic && ( fa->dlightframe != tr.framecount || maps == MAXLIGHTMAPS ) )
return false;
// build lightmap

Loading…
Cancel
Save