diff options
Diffstat (limited to 'loader/impl.hpp')
-rw-r--r-- | loader/impl.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/loader/impl.hpp b/loader/impl.hpp index 1ff3f421..a5a197c9 100644 --- a/loader/impl.hpp +++ b/loader/impl.hpp @@ -39,9 +39,10 @@ struct loader_impl final : loader_ // >-----> resources >-----> Optional<Utility::Resource> shader_res; - StringView shader(StringView filename) noexcept override; - Trade::ImageData2D texture(StringView prefix, StringView filename) noexcept(false) override; + + Trade::ImageData2D make_error_texture(); + Trade::ImageData2D texture(StringView prefix, StringView filename, bool fail_ok = true) noexcept(false) override; // >-----> walls >-----> struct wall_index { uint32_t val = (uint32_t)-1; }; |