1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00: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