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/VidDlg.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/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; } |