Skip to content

Commit

Permalink
Fix pink GradientTexture2D
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusmdx committed Jul 25, 2024
1 parent e343dbb commit e294f4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scene/resources/gradient_texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ RID GradientTexture2D::get_rid() const {
}

Ref<Image> GradientTexture2D::get_image() const {
const_cast<GradientTexture2D *>(this)->update_now();
if (!texture.is_valid()) {
return Ref<Image>();
}
Expand Down

0 comments on commit e294f4c

Please sign in to comment.