diff options
Diffstat (limited to 'code/renderer/tr_local.h')
-rw-r--r-- | code/renderer/tr_local.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/code/renderer/tr_local.h b/code/renderer/tr_local.h index 52a9e37..0da894e 100644 --- a/code/renderer/tr_local.h +++ b/code/renderer/tr_local.h @@ -322,10 +322,12 @@ typedef struct { struct shaderCommands_s; -#define LIGHTMAP_2D -4 // shader is for 2D rendering -#define LIGHTMAP_BY_VERTEX -3 // pre-lit triangle models -#define LIGHTMAP_WHITEIMAGE -2 -#define LIGHTMAP_NONE -1 +// any change in the LIGHTMAP_* defines here MUST be reflected in +// R_FindShader() in tr_bsp.c +#define LIGHTMAP_2D -4 // shader is for 2D rendering +#define LIGHTMAP_BY_VERTEX -3 // pre-lit triangle models +#define LIGHTMAP_WHITEIMAGE -2 +#define LIGHTMAP_NONE -1 typedef enum { CT_FRONT_SIDED, |