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:
parent
2414580754
commit
3d29be24e0
7 changed files with 108 additions and 42 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue