diff --git a/Quake/bspfile.h b/Quake/bspfile.h index ae743e07..6da832f0 100644 --- a/Quake/bspfile.h +++ b/Quake/bspfile.h @@ -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; diff --git a/Quake/glquake.h b/Quake/glquake.h index 5f0971b0..315be98b 100644 --- a/Quake/glquake.h +++ b/Quake/glquake.h @@ -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;