Skip to content

Commit

Permalink
Fix setting gamma correction with F11 key
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Jul 25, 2024
1 parent f61d529 commit 70c29fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2666,6 +2666,7 @@ static void M_ChangeGamma(bool shift)
}

r_gamma = gammalevels[gammaindex];
I_UpdateColors();

if (r_gamma == 1.0f)
C_StringCVAROutput(stringize(r_gamma), "off");
Expand Down

0 comments on commit 70c29fc

Please sign in to comment.