yuzu-emu
/
yuzu
Archived
1
0
Fork 0

Merge pull request #6749 from lioncash/rtarget

render_target: Add missing initializer for size extent
This commit is contained in:
bunnei 2021-07-27 17:28:53 -07:00 committed by GitHub
commit 92887a65f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -24,10 +24,10 @@ struct RenderTargets {
return std::ranges::any_of(color_buffer_ids, contains) || contains(depth_buffer_id); return std::ranges::any_of(color_buffer_ids, contains) || contains(depth_buffer_id);
} }
std::array<ImageViewId, NUM_RT> color_buffer_ids; std::array<ImageViewId, NUM_RT> color_buffer_ids{};
ImageViewId depth_buffer_id; ImageViewId depth_buffer_id{};
std::array<u8, NUM_RT> draw_buffers{}; std::array<u8, NUM_RT> draw_buffers{};
Extent2D size; Extent2D size{};
}; };
} // namespace VideoCommon } // namespace VideoCommon