Removed interactive loader, added proper thread loading.
This commit is contained in:
parent
5beccaf86f
commit
475e4ea67b
57 changed files with 872 additions and 592 deletions
|
|
@ -129,7 +129,7 @@ void ImageLoader::cleanup() {
|
|||
|
||||
/////////////////
|
||||
|
||||
RES ResourceFormatLoaderImage::load(const String &p_path, const String &p_original_path, Error *r_error) {
|
||||
RES ResourceFormatLoaderImage::load(const String &p_path, const String &p_original_path, Error *r_error, bool p_use_sub_threads, float *r_progress) {
|
||||
|
||||
FileAccess *f = FileAccess::open(p_path, FileAccess::READ);
|
||||
if (!f) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue