diff options
author | bunnei <bunneidev@gmail.com> | 2021-07-28 02:28:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-28 02:28:53 +0200 |
commit | 92887a65f00dba8429a9dbf249ff0104a9d7686e (patch) | |
tree | afdbb8741dc466c1d86e90b491bff296cb2781cb | |
parent | Merge pull request #6730 from Morph1984/buf_to_stdstring (diff) | |
parent | render_target: Add missing initializer for size extent (diff) | |
download | yuzu-92887a65f00dba8429a9dbf249ff0104a9d7686e.tar yuzu-92887a65f00dba8429a9dbf249ff0104a9d7686e.tar.gz yuzu-92887a65f00dba8429a9dbf249ff0104a9d7686e.tar.bz2 yuzu-92887a65f00dba8429a9dbf249ff0104a9d7686e.tar.lz yuzu-92887a65f00dba8429a9dbf249ff0104a9d7686e.tar.xz yuzu-92887a65f00dba8429a9dbf249ff0104a9d7686e.tar.zst yuzu-92887a65f00dba8429a9dbf249ff0104a9d7686e.zip |
-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 |