diff --git a/include/vuk/ImageAttachment.hpp b/include/vuk/ImageAttachment.hpp index 37fd1fa0..2afbf0d2 100644 --- a/include/vuk/ImageAttachment.hpp +++ b/include/vuk/ImageAttachment.hpp @@ -21,7 +21,7 @@ namespace vuk { bool allow_srgb_unorm_mutable = false; ImageViewCreateFlags image_view_flags = {}; ImageViewType view_type = ImageViewType::eInfer; - ComponentMapping components; + ComponentMapping components = {}; ImageLayout layout = ImageLayout::eUndefined; uint32_t base_level = VK_REMAINING_MIP_LEVELS; @@ -219,4 +219,4 @@ namespace std { struct hash { size_t operator()(vuk::ImageAttachment const& x) const noexcept; }; -} // namespace std \ No newline at end of file +} // namespace std