summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPedro Rodrigues <pedro@onimail.net>2021-03-03 23:53:55 +0000
committerPedro Rodrigues <pedro@onimail.net>2021-03-03 23:54:27 +0000
commit46218d8c37cadee78f77e8bf0da13aebeff07ab1 (patch)
tree4675de11c5a39ea3b4b34a5bfb183d8b92e24a17 /modules
parent44e73473c6af24bc83ed2ec40a1c0162624dd8fc (diff)
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 #46274
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions