mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-22 03:11:20 +00:00
put MAX_LIGHTMAPS back to 64 as I found the bug that was causing them to be exhausted
This commit is contained in:
parent
244b7d0859
commit
f67e48fb95
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ cvar_t *gl_colorlights;
|
|||
#define BLOCK_WIDTH 128
|
||||
#define BLOCK_HEIGHT 128
|
||||
|
||||
#define MAX_LIGHTMAPS 256
|
||||
#define MAX_LIGHTMAPS 64
|
||||
int active_lightmaps;
|
||||
|
||||
typedef struct glRect_s {
|
||||
|
@ -1342,7 +1342,7 @@ void GL_BuildLightmaps (void)
|
|||
currentmodel = m;
|
||||
for (i=0 ; i<m->numsurfaces ; i++)
|
||||
{
|
||||
GL_CreateSurfaceLightmap (m->surfaces + i);
|
||||
//GL_CreateSurfaceLightmap (m->surfaces + i);
|
||||
if ( m->surfaces[i].flags & SURF_DRAWTURB )
|
||||
continue;
|
||||
if ( m->surfaces[i].flags & SURF_DRAWSKY )
|
||||
|
|
Loading…
Reference in a new issue