From 3d29be24e089b1c267409f05b897ce3f03e99a07 Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Sun, 14 Dec 2014 21:28:08 +1000 Subject: Add display_gamma option for client --- src/game.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 79dec17c6..5d44a7db5 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1747,6 +1747,8 @@ void Game::run() std::vector highlight_boxes; + set_light_table(g_settings->getFloat("display_gamma")); + while (device->run() && !(*kill || g_gamecallback->shutdown_requested)) { /* Must be called immediately after a device->run() call because it -- cgit v1.2.3