summaryrefslogtreecommitdiffhomepage
path: root/Stars45/VidDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/VidDlg.cpp')
-rw-r--r--Stars45/VidDlg.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Stars45/VidDlg.cpp b/Stars45/VidDlg.cpp
index 2a68f86..d205541 100644
--- a/Stars45/VidDlg.cpp
+++ b/Stars45/VidDlg.cpp
@@ -12,6 +12,7 @@
*/
#include "Game.h"
+#include "GameWinDX9.h"
#include "MemDebug.h"
#include "VidDlg.h"
#include "BaseScreen.h"
@@ -141,7 +142,7 @@ VidDlg::Show()
selected_render = 9;
selected_card = 0;
- int n = stars->MaxTexSize();
+ int n = GameWinDX9::GetInstance()->MaxTexSize();
for (int i = 0; i < 7; i++) {
if (n <= pow(2.0f, i+6)) {
@@ -392,7 +393,7 @@ VidDlg::Apply()
d = 32;
}
- if (Game::GetInstance()->MaxTexSize() != t)
+ if (GameWinDX9::GetInstance()->MaxTexSize() != t)
video_change = true;
}