mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Make some Image methods static
This commit is contained in:
parent
39534a7aec
commit
072f6feaba
51 changed files with 168 additions and 292 deletions
|
@ -280,7 +280,7 @@ Error ImageLoaderTinyEXR::load_image(Ref<Image> p_image, Ref<FileAccess> f, BitF
|
|||
}
|
||||
}
|
||||
|
||||
p_image->create(exr_image.width, exr_image.height, false, format, imgdata);
|
||||
p_image->set_data(exr_image.width, exr_image.height, false, format, imgdata);
|
||||
|
||||
FreeEXRHeader(&exr_header);
|
||||
FreeEXRImage(&exr_image);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue