From 45061e8b44d61199b48efd25180fbb9a6887b883 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Thu, 28 Feb 2019 01:22:38 +0100 Subject: [PATCH] - no need to debug with a red clear anymore --- src/rendering/vulkan/renderer/vk_renderstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/vulkan/renderer/vk_renderstate.cpp b/src/rendering/vulkan/renderer/vk_renderstate.cpp index 013653664e..c73b233f28 100644 --- a/src/rendering/vulkan/renderer/vk_renderstate.cpp +++ b/src/rendering/vulkan/renderer/vk_renderstate.cpp @@ -151,7 +151,7 @@ void VkRenderState::Apply(int dt) beginInfo.setRenderPass(passSetup->RenderPass.get()); beginInfo.setRenderArea(0, 0, SCREENWIDTH, SCREENHEIGHT); beginInfo.setFramebuffer(passSetup->Framebuffer.get()); - beginInfo.addClearColor(1.0f, 0.0f, 0.0f, 1.0f); + beginInfo.addClearColor(0.0f, 0.0f, 0.0f, 1.0f); beginInfo.addClearDepthStencil(1.0f, 0); mCommandBuffer->beginRenderPass(beginInfo); mCommandBuffer->bindPipeline(VK_PIPELINE_BIND_POINT_GRAPHICS, passSetup->Pipeline.get());