diff options
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) |