From a7e8b281d32392c632a9b5f410b6c0c01598eeb2 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Fri, 14 Jun 2024 20:38:47 +0200 Subject: [PATCH] Clear before drawing is no longer needed --- client/scenes/stream_reprojection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scenes/stream_reprojection.cpp b/client/scenes/stream_reprojection.cpp index 3b1122a6..67ba47b2 100644 --- a/client/scenes/stream_reprojection.cpp +++ b/client/scenes/stream_reprojection.cpp @@ -213,7 +213,7 @@ stream_reprojection::stream_reprojection( vk::AttachmentDescription attachment{ .format = format, .samples = vk::SampleCountFlagBits::e1, - .loadOp = vk::AttachmentLoadOp::eClear, + .loadOp = vk::AttachmentLoadOp::eDontCare, .storeOp = vk::AttachmentStoreOp::eStore, .initialLayout = vk::ImageLayout::eColorAttachmentOptimal, .finalLayout = vk::ImageLayout::eColorAttachmentOptimal,