diff options
author | Aki <please@ignore.pl> | 2022-03-16 21:30:41 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-16 21:30:41 +0100 |
commit | dac5158376875636306610365dc1b9820a18a277 (patch) | |
tree | c0afe12f4679457b4302598f3b5d2f9df28cea44 /Stars45/VideoDX9.cpp | |
parent | 2e5d0eb1eecc52b20d1e9f7a3ce0317b851442c4 (diff) | |
download | starshatter-dac5158376875636306610365dc1b9820a18a277.zip starshatter-dac5158376875636306610365dc1b9820a18a277.tar.gz starshatter-dac5158376875636306610365dc1b9820a18a277.tar.bz2 |
Removed gamma level management from Game and Starshatter classes
Diffstat (limited to 'Stars45/VideoDX9.cpp')
-rw-r--r-- | Stars45/VideoDX9.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Stars45/VideoDX9.cpp b/Stars45/VideoDX9.cpp index 2f2b356..ecc0332 100644 --- a/Stars45/VideoDX9.cpp +++ b/Stars45/VideoDX9.cpp @@ -386,6 +386,8 @@ magic_fx(0), magic_fx_code(0), magic_fx_code_len(0) render_state[TEXTURE_WRAP] = true; render_state[LIGHTING_PASS] = 0; + SetGammaLevel(video_settings.GetGammaLevel()); + ZeroMemory(&rect, sizeof(rect)); if (!texcache) |