summaryrefslogtreecommitdiffhomepage
path: root/loader/texture.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-12-22 17:08:59 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-12-22 17:08:59 +0100
commit694b069876aaa8ac2d8af67a6a71b88e4cdcda4d (patch)
tree0d41d5497433d0e44a01ebcfc065837b5436bc5d /loader/texture.cpp
parent1081220f8fdcfa313cfe8feacda9230af5a68469 (diff)
a
Diffstat (limited to 'loader/texture.cpp')
-rw-r--r--loader/texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/texture.cpp b/loader/texture.cpp
index 1e4ac709..a12986b4 100644
--- a/loader/texture.cpp
+++ b/loader/texture.cpp
@@ -51,7 +51,7 @@ Trade::ImageData2D loader_impl::texture(StringView prefix, StringView filename_,
if (!fail_ok)
fm_throw("can't open image '{}' (cwd '{}'): {}"_cf, buf, path ? StringView{*path} : "(null)"_s, get_error_string(errbuf));
else
- return make_error_texture();
+ return make_error_texture({1,1});
}
} // namespace floormat::loader_detail