diff options
author | Lioncash <mathew1800@gmail.com> | 2022-02-02 14:12:31 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-02-02 14:37:27 -0500 |
commit | e015dc82646091c91f10b59f40eb5b76e26a2046 (patch) | |
tree | 9864facb1cfa74c5631561e82716fc189ef3f115 /src | |
parent | 7367e55d1de57cb3f728085cbd0b3393a369150e (diff) |
texture_cache: Ensure has_blacklisted is always initialized
Resolves a -Wmaybe_uninitialized warning
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index d57c0c41a..72eeb8bbd 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -343,7 +343,7 @@ template <bool has_blacklists> void TextureCache<P>::FillImageViews(DescriptorTable<TICEntry>& table, std::span<ImageViewId> cached_image_view_ids, std::span<ImageViewInOut> views) { - bool has_blacklisted; + bool has_blacklisted = false; do { has_deleted_images = false; if constexpr (has_blacklists) { |