Skip to content
Permalink
Browse files

[Vulkan] Back buffer: add missing ViewType parameter (2D) when creati…

…ng back buffer
  • Loading branch information
xen2 committed May 31, 2019
1 parent 09cadb3 commit 40b92cb2fbcb5ebde2858ee06c5364db7f2c0a4d
Showing with 1 addition and 0 deletions.
  1. +1 −0 sources/engine/Xenko.Graphics/Vulkan/SwapChainGraphicsPresenter.Vulkan.cs
@@ -399,6 +399,7 @@ private unsafe void CreateBackBuffers()
StructureType = StructureType.ImageViewCreateInfo,
SubresourceRange = new ImageSubresourceRange(ImageAspectFlags.Color, 0, 1, 0, 1),
Format = backbuffer.NativeFormat,
ViewType = ImageViewType.Image2D,
};

// We initialize swapchain images to PresentSource, since we swap them out while in this layout.

0 comments on commit 40b92cb

Please sign in to comment.
You can’t perform that action at this time.