1
0
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:
Hanif Bin Ariffin
2019-09-23 20:01:26 -04:00
committed by Rémi Verschelde
parent 0c7fc80cc1
commit 7bc1dc828f
8 changed files with 1 additions and 37 deletions

View File

@@ -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;