diff --git a/gl_bumpnv3x.c b/gl_bumpnv3x.c index 596018e..8d88cc4 100644 --- a/gl_bumpnv3x.c +++ b/gl_bumpnv3x.c @@ -60,9 +60,9 @@ typedef void (APIENTRY * PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsize typedef void (APIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); typedef void (APIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); +#endif typedef void (APIENTRY * glProgramLocalParameter4fARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); glProgramLocalParameter4fARBPROC qglProgramLocalParameter4fARB; -#endif static char bump_vertex_program[] = "!!VP1.1\n" diff --git a/gl_common.c b/gl_common.c index ee29180..0d485d1 100644 --- a/gl_common.c +++ b/gl_common.c @@ -79,9 +79,9 @@ GLfloat gl_textureanisotropylevel = 2.0f; //cvar_t gl_anisotropic = { "gl_anisotropic", "0", 1 }; qboolean gl_occlusiontest = false; -occlusion_cut_meshes; -occlusion_cut_entities; -occlusion_cut_lights; +int occlusion_cut_meshes; +int occlusion_cut_entities; +int occlusion_cut_lights; /*-----------------------------------------------------------------------*/