dq.destroy(h);
}
-bool VulkanFramebuffer::is_format_supported(const FrameFormat &fmt)
+bool VulkanFramebuffer::is_format_supported(const FrameFormat &fmt) const
{
const VulkanFunctions &vk = device.get_functions();
for(FrameAttachment a: fmt)
RenderPass render_pass;
render_pass.framebuffer = &self;
+ render_pass.to_present = is_presentable();
render_pass.update(device);
VkFramebufferCreateInfo framebuffer_info = { };