mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 05:41:52 +00:00
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:
parent
fa523c3e53
commit
427afd5828
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue