mirror of
https://github.com/tiennm99/godot.git
synced 2026-06-30 15:04:09 +00:00
9d916b8540
We should first attempt loading as external files, thus creating a dependency.
Loading as a buffer should only be used as fallback to support manually loading
as PNG or JPEG depending on the defined mimeType.
Fixes #44309, was a regression from #42504.
(cherry picked from commit e268a8e523)