mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
fixing mingl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3325 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
233ffe7ccd
commit
ff1246589a
1 changed files with 4 additions and 4 deletions
|
@ -1844,6 +1844,7 @@ static void R_RenderWaterWarp(void)
|
|||
Con_Printf("GL Error after drawing with shaderobjects\n");
|
||||
}
|
||||
|
||||
#ifdef FISH
|
||||
qboolean R_RenderScene_Fish(void)
|
||||
{
|
||||
int cmapsize = 512;
|
||||
|
@ -2046,6 +2047,8 @@ qboolean R_RenderScene_Fish(void)
|
|||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
================
|
||||
R_RenderView
|
||||
|
@ -2105,15 +2108,14 @@ void GLR_RenderView (void)
|
|||
c_alias_polys = 0;
|
||||
}
|
||||
|
||||
|
||||
#ifdef FISH
|
||||
if (ffov.value && cls.allow_fish && !(r_refdef.flags & Q2RDF_NOWORLDMODEL) && R_RenderScene_Fish())
|
||||
{
|
||||
//fisheye does its own rendering.
|
||||
}
|
||||
else
|
||||
{
|
||||
#endif
|
||||
{
|
||||
mirror = false;
|
||||
|
||||
R_Clear ();
|
||||
|
@ -2132,9 +2134,7 @@ void GLR_RenderView (void)
|
|||
|
||||
// render mirror view
|
||||
R_Mirror ();
|
||||
#ifdef FISH
|
||||
}
|
||||
#endif
|
||||
|
||||
R_BloomBlend();
|
||||
|
||||
|
|
Loading…
Reference in a new issue