From dac5158376875636306610365dc1b9820a18a277 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 16 Mar 2022 21:30:41 +0100 Subject: Removed gamma level management from Game and Starshatter classes --- Stars45/VideoDX9.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Stars45/VideoDX9.cpp') 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) -- cgit v1.1