1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Add display_gamma option for client

This commit is contained in:
Craig Robbins
2014-12-14 21:28:08 +10:00
parent 2414580754
commit 3d29be24e0
7 changed files with 108 additions and 42 deletions

View File

@@ -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