forked from sascha/godot
Fix crash trying to destroy an ImageTexture object containing a null texture
The problem happened when `ImageTexture::create_from_image` was called with an empty image. In this situation an RID was allocated despite the texture being null. The destructor would then crash trying to acess this null texture. Fixes #462744.0
parent
44e73473c6
commit
46218d8c37
Loading…
Reference in New Issue