diff options
author | Aki <please@ignore.pl> | 2022-04-10 00:30:31 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-10 00:30:31 +0200 |
commit | 06683d2e60da5144e5483c3d0cf88aa28dab1c8a (patch) | |
tree | 646b470948b93a1dd18ba759f071ff454211feb1 /StarsEx/StarSystem.cpp | |
parent | 595140fc96fc48ac6934615d37bd2b4a180d716d (diff) | |
download | starshatter-06683d2e60da5144e5483c3d0cf88aa28dab1c8a.zip starshatter-06683d2e60da5144e5483c3d0cf88aa28dab1c8a.tar.gz starshatter-06683d2e60da5144e5483c3d0cf88aa28dab1c8a.tar.bz2 |
Requested texture size is now managed by Video and Video Settings
Diffstat (limited to 'StarsEx/StarSystem.cpp')
-rw-r--r-- | StarsEx/StarSystem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/StarsEx/StarSystem.cpp b/StarsEx/StarSystem.cpp index b31f577..4409023 100644 --- a/StarsEx/StarSystem.cpp +++ b/StarsEx/StarSystem.cpp @@ -29,6 +29,7 @@ #include "DataLoader.h" #include "Scene.h" #include "ParseUtil.h" +#include "Video.h" const long double epoch = 0.5e9; long double StarSystem::stardate = 0; @@ -1094,7 +1095,7 @@ StarSystem::CreateBody(OrbitalBody& body) Text surface = body.tex_name; Text glow = body.tex_glow; - if (GameWinDX9::GetInstance()->MaxTexSize() >= 512) { + if (Video::GetInstance()->TexSize() >= 512) { if (body.tex_high_res.length()) surface = body.tex_high_res; |