aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/texture_cache.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-02-02 14:12:31 -0500
committerLioncash <mathew1800@gmail.com>2022-02-02 14:37:27 -0500
commitfd12153c52e1cd306c74f0d57793d9c8c4d773f8 (patch)
tree9864facb1cfa74c5631561e82716fc189ef3f115 /src/video_core/texture_cache/texture_cache.h
parent6419acdd76049ee491bd7317b2ea41482f4ba5a3 (diff)
texture_cache: Ensure has_blacklisted is always initialized
Resolves a -Wmaybe_uninitialized warning
Diffstat (limited to 'src/video_core/texture_cache/texture_cache.h')
-rw-r--r--src/video_core/texture_cache/texture_cache.h2
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 d57c0c41af..72eeb8bbd0 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) {