diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-06 12:04:50 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-06 21:40:39 +0100 |
| commit | 05c67aac26d6042454e5d0503acdb11b2c667176 (patch) | |
| tree | 30735548917a1b534b538157224d2f20f1e4158c /loader/loader.hpp | |
| parent | 5fa81c74d62fcbfd46d992c38426e952e9eeda4e (diff) | |
use enum loader_policy (lessen logspam)
Diffstat (limited to 'loader/loader.hpp')
| -rw-r--r-- | loader/loader.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/loader/loader.hpp b/loader/loader.hpp index 5c72a719..a9b1d262 100644 --- a/loader/loader.hpp +++ b/loader/loader.hpp @@ -1,6 +1,7 @@ #pragma once #include "compat/defs.hpp" #include "src/pass-mode.hpp" +#include "loader/policy.hpp" #include <stdio.h> #include <memory> #include <Corrade/Containers/String.h> @@ -29,11 +30,6 @@ struct vobj_info final std::shared_ptr<anim_atlas> atlas; }; -enum class loader_policy : uint8_t -{ - error, warn, ignore, DEFAULT = error, -}; - struct loader_ { virtual StringView shader(StringView filename) noexcept = 0; |
