diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-11 18:15:00 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-11 18:15:00 +0100 |
| commit | c93b3616adbf26673fc928fdfbbec814fec41c75 (patch) | |
| tree | 517ee19f32a2ae7d098141335b04e92bffcdc564 /loader/texture.cpp | |
| parent | 98416d95331c63affabf331afba0e1dcb307c430 (diff) | |
w
Diffstat (limited to 'loader/texture.cpp')
| -rw-r--r-- | loader/texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/texture.cpp b/loader/texture.cpp index 59e8f25a..a68a6337 100644 --- a/loader/texture.cpp +++ b/loader/texture.cpp @@ -18,7 +18,7 @@ Trade::ImageData2D loader_impl::texture(StringView prefix, StringView filename_) constexpr size_t max_extension_length = 16; const auto N = prefix.size(); - if (N > 0) + if (N > 0) [[likely]] fm_assert(prefix[N-1] == '/'); fm_soft_assert(filename_.size() + prefix.size() + max_extension_length + 1 < FILENAME_MAX); fm_soft_assert(check_atlas_name(filename_)); |
