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