mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add display_gamma option for client
This commit is contained in:
@@ -854,7 +854,6 @@ int ClientMap::getBackgroundBrightness(float max_d, u32 daylight_factor,
|
||||
ret = decode_light(n.getLightBlend(daylight_factor, ndef));
|
||||
} else {
|
||||
ret = oldvalue;
|
||||
//ret = blend_light(255, 0, daylight_factor);
|
||||
}
|
||||
} else {
|
||||
/*float pre = (float)brightness_sum / (float)brightness_count;
|
||||
|
Reference in New Issue
Block a user