Make some Image methods static

This commit is contained in:
kobewi
2022-07-22 20:06:19 +02:00
parent 39534a7aec
commit 072f6feaba
51 changed files with 168 additions and 292 deletions

View File

@ -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;
}