You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-05 17:15:09 +00:00
Remove deprecated Color::gray
It was marked to be removed in Godot 3.1. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
committed by
Rémi Verschelde
parent
0c7fc80cc1
commit
7bc1dc828f
@@ -1715,7 +1715,7 @@ Error Image::generate_mipmap_roughness(RoughnessChannel p_roughness_channel, con
|
||||
roughness = c.b;
|
||||
} break;
|
||||
case ROUGHNESS_CHANNEL_L: {
|
||||
roughness = c.gray();
|
||||
roughness = c.get_v();
|
||||
} break;
|
||||
case ROUGHNESS_CHANNEL_A: {
|
||||
roughness = c.a;
|
||||
|
||||
Reference in New Issue
Block a user