VkRenderWindow: Default to RGBA8 if supported

This commit is contained in:
Lynix
2020-04-13 15:11:35 +02:00
parent f1811df6f6
commit 75241ed8f0
2 changed files with 22 additions and 10 deletions

View File

@@ -68,9 +68,8 @@ namespace Nz
std::size_t m_currentFrame;
Clock m_clock;
VkColorSpaceKHR m_colorSpace;
VkFormat m_colorFormat;
VkFormat m_depthStencilFormat;
VkSurfaceFormatKHR m_surfaceFormat;
std::optional<VulkanMultipleFramebuffer> m_framebuffer;
std::optional<VulkanRenderPass> m_renderPass;
std::shared_ptr<VulkanDevice> m_device;