Stopped dialogs from taking 100% cpu
This commit is contained in:
parent
6f58247fa1
commit
5568cf8f89
1 changed files with 2 additions and 0 deletions
|
@ -824,6 +824,8 @@ int show_dialog(display& disp, SDL_Surface* image,
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
SDL_Delay(20);
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue