Fix depth/stencil clears (already fixed in framebuffer branch)

This commit is contained in:
Henrik Rydgard committed 2016-03-31 00:48:01 +02:00
1 parent c75e9a0990
commit e124962d15
1 file changed
+1
+1
View File
@@ -835,6 +835,7 @@ void DrawEngineVulkan::DoFlush(VkCommandBuffer cmd) {
attach[count].aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT;
attach[count].clearValue = depthValue;
attach[count].colorAttachment = 0;
count++;
}
vkCmdClearAttachments(cmd_, count, attach, 1, &rect);