summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2022-02-02 14:12:31 -0500
committerGravatar Lioncash2022-02-02 14:37:27 -0500
commite015dc82646091c91f10b59f40eb5b76e26a2046 (patch)
tree9864facb1cfa74c5631561e82716fc189ef3f115 /src
parenttexture_cache: Remove dead code within SynchronizeAliases (diff)
downloadyuzu-e015dc82646091c91f10b59f40eb5b76e26a2046.tar.gz
yuzu-e015dc82646091c91f10b59f40eb5b76e26a2046.tar.xz
yuzu-e015dc82646091c91f10b59f40eb5b76e26a2046.zip
texture_cache: Ensure has_blacklisted is always initialized
Resolves a -Wmaybe_uninitialized warning
Diffstat (limited to '')
-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 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>
343void TextureCache<P>::FillImageViews(DescriptorTable<TICEntry>& table, 343void TextureCache<P>::FillImageViews(DescriptorTable<TICEntry>& table,
344 std::span<ImageViewId> cached_image_view_ids, 344 std::span<ImageViewId> cached_image_view_ids,
345 std::span<ImageViewInOut> views) { 345 std::span<ImageViewInOut> views) {
346 bool has_blacklisted; 346 bool has_blacklisted = false;
347 do { 347 do {
348 has_deleted_images = false; 348 has_deleted_images = false;
349 if constexpr (has_blacklists) { 349 if constexpr (has_blacklists) {