Browse Source

Merge pull request #6749 from lioncash/rtarget

render_target: Add missing initializer for size extent
pull/15/merge
bunnei 4 years ago
committed by GitHub
parent
commit
92887a65f0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/video_core/texture_cache/render_targets.h

6
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

Loading…
Cancel
Save