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:
Spoike 2009-07-20 07:45:05 +00:00
parent 233ffe7ccd
commit ff1246589a

View file

@ -1844,6 +1844,7 @@ static void R_RenderWaterWarp(void)
Con_Printf("GL Error after drawing with shaderobjects\n"); Con_Printf("GL Error after drawing with shaderobjects\n");
} }
#ifdef FISH
qboolean R_RenderScene_Fish(void) qboolean R_RenderScene_Fish(void)
{ {
int cmapsize = 512; int cmapsize = 512;
@ -2046,6 +2047,8 @@ qboolean R_RenderScene_Fish(void)
return true; return true;
} }
#endif
/* /*
================ ================
R_RenderView R_RenderView
@ -2105,15 +2108,14 @@ void GLR_RenderView (void)
c_alias_polys = 0; c_alias_polys = 0;
} }
#ifdef FISH #ifdef FISH
if (ffov.value && cls.allow_fish && !(r_refdef.flags & Q2RDF_NOWORLDMODEL) && R_RenderScene_Fish()) if (ffov.value && cls.allow_fish && !(r_refdef.flags & Q2RDF_NOWORLDMODEL) && R_RenderScene_Fish())
{ {
//fisheye does its own rendering. //fisheye does its own rendering.
} }
else else
{
#endif #endif
{
mirror = false; mirror = false;
R_Clear (); R_Clear ();
@ -2132,9 +2134,7 @@ void GLR_RenderView (void)
// render mirror view // render mirror view
R_Mirror (); R_Mirror ();
#ifdef FISH
} }
#endif
R_BloomBlend(); R_BloomBlend();