That define apparently doesn't exist in all versions of glext.h

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5315 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2018-09-30 03:38:26 +00:00
parent fa523c3e53
commit 427afd5828

View file

@ -5384,9 +5384,9 @@ static void GLBE_SubmitMeshesSortList(batch_t *sortlist)
continue;
if ((bs->flags&SHADER_HASPORTAL) && shaderstate.mode != BEM_DEPTHONLY && gl_config.arb_depth_clamp)
{ //this little bit of code is meant to prevent issues when the near clip plane intersects the portal surface, allowing us to be that little bit closer to the portal.
qglEnable(GL_DEPTH_CLAMP);
qglEnable(GL_DEPTH_CLAMP_ARB);
GLBE_SubmitBatch(batch);
qglDisable(GL_DEPTH_CLAMP);
qglDisable(GL_DEPTH_CLAMP_ARB);
continue;
}
}