move LMBLOCK_WIDTH/HEIGHT from bspfile.h to glquake.h

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1630 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2019-09-12 12:34:12 +00:00
parent 0a6a5c62c8
commit 39b4fccb44
2 changed files with 4 additions and 2 deletions

View file

@ -228,8 +228,6 @@ typedef struct
} dledge_t;
#define MAXLIGHTMAPS 4
#define LMBLOCK_WIDTH 256 //FIXME: make dynamic. if we have a decent card there's no real reason not to use 4k or 16k (assuming there's no lightstyles/dynamics that need uploading...)
#define LMBLOCK_HEIGHT 256 //Alternatively, use texture arrays, which would avoid the need to switch textures as often.
typedef struct
{
short planenum;

View file

@ -292,6 +292,10 @@ extern overflowtimes_t dev_overflows; //this stores the last time overflow messa
//johnfitz -- moved here from r_brush.c
extern int gl_lightmap_format, lightmap_bytes;
#define LMBLOCK_WIDTH 256 //FIXME: make dynamic. if we have a decent card there's no real reason not to use 4k or 16k (assuming there's no lightstyles/dynamics that need uploading...)
#define LMBLOCK_HEIGHT 256 //Alternatively, use texture arrays, which would avoid the need to switch textures as often.
typedef struct glRect_s {
unsigned short l,t,w,h;
} glRect_t;