double gammaflash gone, as have some gcc warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@604 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
7f27b34915
commit
9d91cf3900
1 changed files with 5 additions and 3 deletions
|
@ -751,11 +751,13 @@ void GLR_DrawViewModel (void)
|
||||||
case mod_halflife:
|
case mod_halflife:
|
||||||
R_DrawHLModel (currententity);
|
R_DrawHLModel (currententity);
|
||||||
break;
|
break;
|
||||||
|
#else
|
||||||
|
case mod_halflife: //no gcc warning please
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//we don't support these as view models
|
||||||
case mod_brush:
|
case mod_brush:
|
||||||
break;
|
|
||||||
|
|
||||||
case mod_dummy:
|
case mod_dummy:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -770,7 +772,7 @@ R_PolyBlend
|
||||||
void R_PolyBlend (void)
|
void R_PolyBlend (void)
|
||||||
{
|
{
|
||||||
extern qboolean gammaworks;
|
extern qboolean gammaworks;
|
||||||
if (!v_blend[3])
|
if (!v_blend[3] || gammaworks)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//Con_Printf("R_PolyBlend(): %4.2f %4.2f %4.2f %4.2f\n",v_blend[0], v_blend[1], v_blend[2], v_blend[3]);
|
//Con_Printf("R_PolyBlend(): %4.2f %4.2f %4.2f %4.2f\n",v_blend[0], v_blend[1], v_blend[2], v_blend[3]);
|
||||||
|
|
Loading…
Reference in a new issue