Update Menu.hpp

This commit is contained in:
0TheSpy 2021-07-11 15:57:54 +03:00 committed by GitHub
parent 24dd8efd5d
commit c58b761f79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -665,7 +665,7 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice)
ImGui::InvisibleButton("##W4", ImVec2(0, 0.0f));
if (ImGui::SliderFloat("Tonemap scale", g_Options.tonemapscale, 0.001f, 1.0f))
iff.g_pCVar->FindVar("mat_force_tonemap_scale")->SetValue(g_Options.tonemapscale);
SetValueUnrestricted("mat_force_tonemap_scale", g_Options.tonemapscale);
ImGui::PopItemWidth();
ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 10.0f);