mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
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:
parent
0a6a5c62c8
commit
39b4fccb44
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue