diff options
author | Lioncash <mathew1800@gmail.com> | 2021-07-27 13:41:18 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-07-27 13:41:21 +0200 |
commit | 00e100de08bb0d684bff069c9f302cbad2357e34 (patch) | |
tree | 42d7fe871611242d415857ffffd5acae5f222b89 /src/video_core/texture_cache/render_targets.h | |
parent | Merge pull request #6696 from ameerj/speed-limit-rename (diff) | |
download | yuzu-00e100de08bb0d684bff069c9f302cbad2357e34.tar yuzu-00e100de08bb0d684bff069c9f302cbad2357e34.tar.gz yuzu-00e100de08bb0d684bff069c9f302cbad2357e34.tar.bz2 yuzu-00e100de08bb0d684bff069c9f302cbad2357e34.tar.lz yuzu-00e100de08bb0d684bff069c9f302cbad2357e34.tar.xz yuzu-00e100de08bb0d684bff069c9f302cbad2357e34.tar.zst yuzu-00e100de08bb0d684bff069c9f302cbad2357e34.zip |
Diffstat (limited to 'src/video_core/texture_cache/render_targets.h')
-rw-r--r-- | src/video_core/texture_cache/render_targets.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/texture_cache/render_targets.h b/src/video_core/texture_cache/render_targets.h index 9b9544b07..0cb227d69 100644 --- a/src/video_core/texture_cache/render_targets.h +++ b/src/video_core/texture_cache/render_targets.h @@ -24,10 +24,10 @@ struct RenderTargets { return std::ranges::any_of(color_buffer_ids, contains) || contains(depth_buffer_id); } - std::array<ImageViewId, NUM_RT> color_buffer_ids; - ImageViewId depth_buffer_id; + std::array<ImageViewId, NUM_RT> color_buffer_ids{}; + ImageViewId depth_buffer_id{}; std::array<u8, NUM_RT> draw_buffers{}; - Extent2D size; + Extent2D size{}; }; } // namespace VideoCommon |