1
0
Fork 0
forked from fte/fteqw

linker fix.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3718 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2011-01-23 03:52:52 +00:00
parent efe2efa192
commit a1c23c4445

View file

@ -2375,9 +2375,9 @@ static void BE_RenderMeshProgram(const shader_t *shader, const shaderpass_t *pas
qglEnableClientState(GL_VERTEX_ARRAY); qglEnableClientState(GL_VERTEX_ARRAY);
} }
#ifdef RTLIGHTS
qboolean GLBE_LightCullModel(vec3_t org, model_t *model) qboolean GLBE_LightCullModel(vec3_t org, model_t *model)
{ {
#ifdef RTLIGHTS
if ((shaderstate.mode == BEM_LIGHT || shaderstate.mode == BEM_STENCIL)) if ((shaderstate.mode == BEM_LIGHT || shaderstate.mode == BEM_STENCIL))
{ {
float dist; float dist;
@ -2402,9 +2402,9 @@ qboolean GLBE_LightCullModel(vec3_t org, model_t *model)
} }
} }
} }
#endif
return false; return false;
} }
#endif
//Note: Be cautious about using BEM_LIGHT here. //Note: Be cautious about using BEM_LIGHT here.
void GLBE_SelectMode(backendmode_t mode, unsigned int flags) void GLBE_SelectMode(backendmode_t mode, unsigned int flags)