summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Game.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-03 20:25:14 +0200
committerAki <please@ignore.pl>2022-04-03 20:25:14 +0200
commit029213d28484dbc4d3f874a88ce4e7b13d68b373 (patch)
tree329ae8acbf63c35a62ca533c1234fbae96870b46 /StarsEx/Game.cpp
parent8fe1e0179fc4f08c9288c50ba5505fe040dea042 (diff)
downloadstarshatter-029213d28484dbc4d3f874a88ce4e7b13d68b373.zip
starshatter-029213d28484dbc4d3f874a88ce4e7b13d68b373.tar.gz
starshatter-029213d28484dbc4d3f874a88ce4e7b13d68b373.tar.bz2
Moved UpdateScreen to GameWinDX9
Diffstat (limited to 'StarsEx/Game.cpp')
-rw-r--r--StarsEx/Game.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/StarsEx/Game.cpp b/StarsEx/Game.cpp
index 56cb115..6cf7321 100644
--- a/StarsEx/Game.cpp
+++ b/StarsEx/Game.cpp
@@ -196,14 +196,6 @@ Game::GameState()
void
Game::UpdateScreen()
{
- if (!screen || !video) return;
-
- if (screen->Refresh()) {
- video->Present();
- }
- else {
- Panic::Panic("Screen refresh failed.");
- }
}
// +--------------------------------------------------------------------+