Add 'sys_throttle -1' to disable throttling when paused, too. Probably noone else will care but w/e.
This commit is contained in:
parent
11e0cdeb95
commit
84adac8434
|
@ -136,7 +136,8 @@ int main(int argc, char *argv[])
|
||||||
/* If we have no input focus at all, sleep a bit */
|
/* If we have no input focus at all, sleep a bit */
|
||||||
if (!VID_HasMouseOrInputFocus() || cl.paused)
|
if (!VID_HasMouseOrInputFocus() || cl.paused)
|
||||||
{
|
{
|
||||||
SDL_Delay(16);
|
if (sys_throttle.value >= 0)
|
||||||
|
SDL_Delay(16);
|
||||||
}
|
}
|
||||||
/* If we're minimised, sleep a bit more */
|
/* If we're minimised, sleep a bit more */
|
||||||
if (VID_IsMinimized())
|
if (VID_IsMinimized())
|
||||||
|
|
Loading…
Reference in New Issue