summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2016-12-27 13:05:17 +1000
committerStenzek <stenzek@gmail.com>2016-12-27 13:06:08 +1000
commite6249619a0262a0da5827e0c6d26f63fbfcad156 (patch)
treed86a39fd1ca1da0440caa3c32f8408379449ae82 /Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp
parentd1dd910f1743d579ede07418508688f586b165c2 (diff)
Vulkan/GL: Set the alpha channel to 0 when creating the EFB framebuffer
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp b/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp
index e102be287a..f5c0e038f6 100644
--- a/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp
+++ b/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp
@@ -333,7 +333,7 @@ bool FramebufferManager::CreateEFBFramebuffer()
VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL);
// Clear the contents of the buffers.
- static const VkClearColorValue clear_color = {{0.0f, 0.0f, 0.0f, 1.0f}};
+ static const VkClearColorValue clear_color = {{0.0f, 0.0f, 0.0f, 0.0f}};
static const VkClearDepthStencilValue clear_depth = {0.0f, 0};
VkImageSubresourceRange clear_color_range = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, m_efb_layers};
VkImageSubresourceRange clear_depth_range = {VK_IMAGE_ASPECT_DEPTH_BIT, 0, 1, 0, m_efb_layers};