summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-07-28 02:28:53 +0200
committerGitHub <noreply@github.com>2021-07-28 02:28:53 +0200
commit92887a65f00dba8429a9dbf249ff0104a9d7686e (patch)
treeafdbb8741dc466c1d86e90b491bff296cb2781cb
parentMerge pull request #6730 from Morph1984/buf_to_stdstring (diff)
parentrender_target: Add missing initializer for size extent (diff)
downloadyuzu-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.h6
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