mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Vulkan/GL: Set the alpha channel to 0 when creating the EFB framebuffer
This commit is contained in:
@ -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};
|
||||
|
Reference in New Issue
Block a user