diff options
Diffstat (limited to 'Stars45/StarSystem.cpp')
-rw-r--r-- | Stars45/StarSystem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Stars45/StarSystem.cpp b/Stars45/StarSystem.cpp index e78d970..a321afd 100644 --- a/Stars45/StarSystem.cpp +++ b/Stars45/StarSystem.cpp @@ -21,6 +21,7 @@ #include "Weather.h" #include "Game.h" +#include "GameWinDX9.h" #include "Sound.h" #include "Solid.h" #include "Light.h" @@ -1093,7 +1094,7 @@ StarSystem::CreateBody(OrbitalBody& body) Text surface = body.tex_name; Text glow = body.tex_glow; - if (Game::GetInstance()->MaxTexSize() >= 512) { + if (GameWinDX9::GetInstance()->MaxTexSize() >= 512) { if (body.tex_high_res.length()) surface = body.tex_high_res; |