diff options
Diffstat (limited to 'src/resources/loaders')
-rw-r--r-- | src/resources/loaders/imagesetloader.cpp | 2 | ||||
-rw-r--r-- | src/resources/loaders/subimagesetloader.cpp | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/resources/loaders/imagesetloader.cpp b/src/resources/loaders/imagesetloader.cpp index 63b56d1fe..4afb4c40d 100644 --- a/src/resources/loaders/imagesetloader.cpp +++ b/src/resources/loaders/imagesetloader.cpp @@ -56,7 +56,7 @@ struct ImageSetLoader final reportAlways("Image loading error: %s", rl->path.c_str()); return nullptr; } - ImageSet *const res = new ImageSet(img, rl->w, rl->h); + ImageSet *const res = new ImageSet(img, rl->w, rl->h, 0, 0); img->decRef(); return res; } diff --git a/src/resources/loaders/subimagesetloader.cpp b/src/resources/loaders/subimagesetloader.cpp index ef47b164d..bef66e081 100644 --- a/src/resources/loaders/subimagesetloader.cpp +++ b/src/resources/loaders/subimagesetloader.cpp @@ -52,7 +52,10 @@ namespace if (rl->parent == nullptr) return nullptr; ImageSet *const res = new ImageSet(rl->parent, - rl->width, rl->height); + rl->width, + rl->height, + 0, + 0); return res; } }; |