From 7944553c9b11acf8d7601b2899acd11f32c961b1 Mon Sep 17 00:00:00 2001 From: jpaana <> Date: Mon, 14 Jun 2004 02:30:14 +0000 Subject: [PATCH] Compile fix for Linux --- gl_bumpnv3x.c | 2 +- gl_common.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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; /*-----------------------------------------------------------------------*/