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:
@@ -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
|
||||
|
Reference in New Issue
Block a user