From 91d244c5229695933bf8510b01e06f922f062359 Mon Sep 17 00:00:00 2001 From: ANAND Date: Thu, 27 Jun 2019 08:34:12 +0530 Subject: Increase upper limit of display_gamma to 10 (#8618) --- src/light.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/light.cpp b/src/light.cpp index c60f8eaca..9b6f5c210 100644 --- a/src/light.cpp +++ b/src/light.cpp @@ -66,7 +66,7 @@ void set_light_table(float gamma) params.center = g_settings->getFloat("lighting_boost_center"); params.sigma = g_settings->getFloat("lighting_boost_spread"); // Gamma correction - params.gamma = rangelim(gamma, 0.5f, 3.0f); + params.gamma = rangelim(gamma, 0.5f, 10.0f); // Boundary values should be fixed light_LUT[0] = 0; -- cgit v1.2.3