From 32d1aea1790b79ae465048d49e98ba8bc78c2c5c Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 20 Mar 2022 00:32:25 +0100 Subject: Moved screen color and size functions to GameWinDX9 --- Stars45/StarSystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/StarSystem.cpp') diff --git a/Stars45/StarSystem.cpp b/Stars45/StarSystem.cpp index a321afd..8bf1348 100644 --- a/Stars45/StarSystem.cpp +++ b/Stars45/StarSystem.cpp @@ -1409,7 +1409,7 @@ StarSystem::ExecFrame() if (terrain) { trgn = (TerrainRegion*) active_region; Color tmp = trgn->SkyColor(); - Game::GetInstance()->SetScreenColor(tmp); + GameWinDX9::GetInstance()->SetScreenColor(tmp); tvpn = (active_region->Location() - active_region->Primary()->Location()); tvpn.Normalize(); @@ -1457,7 +1457,7 @@ StarSystem::ExecFrame() } else { - Game::GetInstance()->SetScreenColor(Color::Black); + GameWinDX9::GetInstance()->SetScreenColor(Color::Black); } double star_alt = 0; -- cgit v1.1