diff options
Diffstat (limited to 'StarsEx/GameWinDX9.cpp')
-rw-r--r-- | StarsEx/GameWinDX9.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/StarsEx/GameWinDX9.cpp b/StarsEx/GameWinDX9.cpp index 9571122..d49dfdb 100644 --- a/StarsEx/GameWinDX9.cpp +++ b/StarsEx/GameWinDX9.cpp @@ -35,7 +35,6 @@ GameWinDX9::GetInstance() GameWinDX9::GameWinDX9() : - max_tex_size {2048}, screen_color {Color::Black}, hInst {nullptr}, hwnd {nullptr}, @@ -641,33 +640,6 @@ GameWinDX9::ShowStats() } -int -GameWinDX9::MaxTexSize() const -{ - if (video) { - int max_from_video = video->MaxTexSize(); - if (max_from_video < max_tex_size) - return max_from_video; - return max_tex_size; - } - else if (Video* video = Video::GetInstance()) { - return video->MaxTexSize(); - } - return 256; -} - - -int -GameWinDX9::MaxTexAspect() const -{ - if (video) - return video->MaxTexAspect(); - else if (Video* video = Video::GetInstance()) - return video->MaxTexAspect(); - return 1; -} - - Color GameWinDX9::GetScreenColor() const { @@ -708,14 +680,6 @@ GameWinDX9::GetHWND() void -GameWinDX9::SetMaxTexSize(int n) -{ - if (n >= 64 && n <= 4096) - max_tex_size = n; -} - - -void GameWinDX9::SetScreenColor(Color c) { screen_color = c; |