mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -136,6 +136,7 @@ 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)
|
||||||
{
|
{
|
||||||
|
if (sys_throttle.value >= 0)
|
||||||
SDL_Delay(16);
|
SDL_Delay(16);
|
||||||
}
|
}
|
||||||
/* If we're minimised, sleep a bit more */
|
/* If we're minimised, sleep a bit more */
|
||||||
|
|
Loading…
Reference in a new issue