OpenGL2: remove lightmap support from generic glsl shader.

This path was barely used and doing this compiles fewer shaders.
This commit is contained in:
SmileTheory 2014-11-10 21:59:37 -08:00
parent 1d016e6ff5
commit b1821e303d
6 changed files with 3 additions and 238 deletions

View file

@ -451,8 +451,6 @@ typedef struct shader_s {
float portalRange; // distance to fog out at
qboolean isPortal;
int multitextureEnv; // 0, GL_MODULATE, GL_ADD (FIXME: put in stage)
cullType_t cullType; // CT_FRONT_SIDED, CT_BACK_SIDED, or CT_TWO_SIDED
qboolean polygonOffset; // set for decals and other items that must be offset
qboolean noMipMaps; // for console fonts, 2D elements, etc.
@ -563,9 +561,8 @@ enum
GENERICDEF_USE_VERTEX_ANIMATION = 0x0004,
GENERICDEF_USE_FOG = 0x0008,
GENERICDEF_USE_RGBAGEN = 0x0010,
GENERICDEF_USE_LIGHTMAP = 0x0020,
GENERICDEF_ALL = 0x003F,
GENERICDEF_COUNT = 0x0040,
GENERICDEF_ALL = 0x001F,
GENERICDEF_COUNT = 0x0020,
};
enum
@ -637,7 +634,6 @@ typedef enum
UNIFORM_DIFFUSETEXMATRIX,
UNIFORM_DIFFUSETEXOFFTURB,
UNIFORM_TEXTURE1ENV,
UNIFORM_TCGEN0,
UNIFORM_TCGEN0VECTOR0,