You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Add closest_power_of_2 func and implement mix_rate/latency on OS X
This commit is contained in:
@@ -4376,7 +4376,7 @@ void VisualServerRaster::canvas_light_set_shadow_buffer_size(RID p_light, int p_
|
||||
|
||||
ERR_FAIL_COND(p_size<32 || p_size>16384);
|
||||
|
||||
clight->shadow_buffer_size=nearest_power_of_2(p_size);
|
||||
clight->shadow_buffer_size=next_power_of_2(p_size);
|
||||
|
||||
|
||||
if (clight->shadow_buffer.is_valid()) {
|
||||
|
||||
Reference in New Issue
Block a user