diff options
author | Aki <please@ignore.pl> | 2022-03-14 19:36:33 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-14 19:36:33 +0100 |
commit | 2e5d0eb1eecc52b20d1e9f7a3ce0317b851442c4 (patch) | |
tree | a1e7873c9086e5d1f4be8092d775e6127f5c388c /Stars45/StarSystem.cpp | |
parent | 92f7c58068c6a7bfe0b32af5c1ace6bdde2f3951 (diff) | |
download | starshatter-2e5d0eb1eecc52b20d1e9f7a3ce0317b851442c4.zip starshatter-2e5d0eb1eecc52b20d1e9f7a3ce0317b851442c4.tar.gz starshatter-2e5d0eb1eecc52b20d1e9f7a3ce0317b851442c4.tar.bz2 |
Moved max texture size to GameWinDX9
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; |