diff options
Diffstat (limited to 'StarsEx/VidDlg.cpp')
-rw-r--r-- | StarsEx/VidDlg.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/StarsEx/VidDlg.cpp b/StarsEx/VidDlg.cpp index 8a4e4ed..1cf193b 100644 --- a/StarsEx/VidDlg.cpp +++ b/StarsEx/VidDlg.cpp @@ -11,7 +11,6 @@ Main Menu Dialog Active Window class */ -#include "GameWinDX9.h" #include "VidDlg.h" #include "BaseScreen.h" #include "Starshatter.h" @@ -140,7 +139,7 @@ VidDlg::Show() selected_render = 9; selected_card = 0; - int n = GameWinDX9::GetInstance()->MaxTexSize(); + int n = Video::GetInstance()->TexSize(); for (int i = 0; i < 7; i++) { if (n <= pow(2.0f, i+6)) { @@ -390,7 +389,7 @@ VidDlg::Apply() d = 32; } - if (GameWinDX9::GetInstance()->MaxTexSize() != t) + if (Video::GetInstance()->TexSize() != t) video_change = true; } |