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/VideoSettings.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/VideoSettings.cpp')
-rw-r--r-- | StarsEx/VideoSettings.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/StarsEx/VideoSettings.cpp b/StarsEx/VideoSettings.cpp index 9ef43b9..6f61c52 100644 --- a/StarsEx/VideoSettings.cpp +++ b/StarsEx/VideoSettings.cpp @@ -30,6 +30,7 @@ VideoSettings::VideoSettings() window_width = 1280; window_height = 720; + tex_size = 2048; gamma = 128; is_windowed = false; use_effects = true; @@ -48,6 +49,12 @@ VideoSettings::~VideoSettings() // +--------------------------------------------------------------------+ int +VideoSettings::GetTexSize() const +{ + return tex_size; +} + +int VideoSettings::GetGammaLevel() const { return gamma; |