mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Make some Image methods static
This commit is contained in:
@@ -140,7 +140,7 @@ Error ImageLoaderHDR::load_image(Ref<Image> p_image, Ref<FileAccess> f, BitField
|
||||
}
|
||||
}
|
||||
|
||||
p_image->create(width, height, false, Image::FORMAT_RGBE9995, imgdata);
|
||||
p_image->set_data(width, height, false, Image::FORMAT_RGBE9995, imgdata);
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user