mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-03-14 04:01:06 +00:00
cleaned up a warning about not all paths return a value
This commit is contained in:
parent
c828007467
commit
5c58a21a1c
1 changed files with 1 additions and 4 deletions
|
@ -373,8 +373,6 @@ int VID_Suspend (MGLDC *dc, int flags)
|
||||||
in_mode_set = true;
|
in_mode_set = true;
|
||||||
|
|
||||||
block_drawing = true; // so we don't try to draw while switched away
|
block_drawing = true; // so we don't try to draw while switched away
|
||||||
|
|
||||||
return MGL_NO_SUSPEND_APP;
|
|
||||||
}
|
}
|
||||||
else if (flags & MGL_REACTIVATE)
|
else if (flags & MGL_REACTIVATE)
|
||||||
{
|
{
|
||||||
|
@ -389,10 +387,9 @@ int VID_Suspend (MGLDC *dc, int flags)
|
||||||
vid.recalc_refdef = 1;
|
vid.recalc_refdef = 1;
|
||||||
|
|
||||||
block_drawing = false;
|
block_drawing = false;
|
||||||
|
|
||||||
return MGL_NO_SUSPEND_APP;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return MGL_NO_SUSPEND_APP;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue