summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
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<aabb3f> 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