summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/StarSystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/StarSystem.cpp')
-rw-r--r--StarsEx/StarSystem.cpp3
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;