Remove unused force_quit variable from many OS abstractions

This commit is contained in:
Pedro J. Estébanez
2022-08-16 20:29:55 +02:00
parent f2a6168414
commit 6e647dea24
8 changed files with 4 additions and 19 deletions

View File

@ -902,7 +902,7 @@ void OS_Windows::run() {
main_loop->initialize();
while (!force_quit) {
while (true) {
DisplayServer::get_singleton()->process_events(); // get rid of pending events
if (Main::iteration()) {
break;
@ -1132,8 +1132,6 @@ OS_Windows::OS_Windows(HINSTANCE _hInstance) {
main_loop = nullptr;
process_map = nullptr;
force_quit = false;
hInstance = _hInstance;
#ifdef STDOUT_FILE
stdo = fopen("stdout.txt", "wb");