godot icon indicating copy to clipboard operation
godot copied to clipboard

TextureRD: Don't change its rid when assigned an empty `texture_rd_rid`

Open beicause opened this issue 4 days ago • 0 comments

Fixes #95273, fixes #85989.

Don't change TextureRD's rid when assigned an empty texture_rd_rid, Instead, repalce its texture by a placeholder texture. Check if texture_owner owns rd_texture to avoid printing errors when the user has freed texture_rd_rid of TextureRD.

Supersedes #103114

beicause avatar Feb 21 '25 12:02 beicause