summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/GameWinDX9.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-04 22:28:16 +0200
committerAki <please@ignore.pl>2022-04-04 22:28:16 +0200
commit1bc6242caac5261dfd74be55027aa033f7a297a4 (patch)
treea4439aa20f59eb12fe8fdfd093014bd019892934 /StarsEx/GameWinDX9.cpp
parent4cc312f90d27ea7abb010bd317188d9d08a9fd3e (diff)
downloadstarshatter-1bc6242caac5261dfd74be55027aa033f7a297a4.zip
starshatter-1bc6242caac5261dfd74be55027aa033f7a297a4.tar.gz
starshatter-1bc6242caac5261dfd74be55027aa033f7a297a4.tar.bz2
Streamlined game loops
Diffstat (limited to 'StarsEx/GameWinDX9.cpp')
-rw-r--r--StarsEx/GameWinDX9.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/StarsEx/GameWinDX9.cpp b/StarsEx/GameWinDX9.cpp
index 2e1aabc..6e779c7 100644
--- a/StarsEx/GameWinDX9.cpp
+++ b/StarsEx/GameWinDX9.cpp
@@ -583,8 +583,7 @@ GameWinDX9::Run()
DispatchMessage(&msg);
}
else {
- if (GameLoop())
- WaitMessage();
+ GameLoop();
}
}
return exit_code ? exit_code : msg.wParam;