mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
vk: "Improve" initialization hack
- Change default alpha to 1 from 0 - TODO: Implement memory tagging for synchronizing this
This commit is contained in:
parent
219a5382f7
commit
0cc672dcb3
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ namespace vk
|
|||
VkImageSubresourceRange range{ surface->aspect(), 0, 1, 0, 1 };
|
||||
if (surface->aspect() & VK_IMAGE_ASPECT_COLOR_BIT)
|
||||
{
|
||||
VkClearColorValue color{};
|
||||
VkClearColorValue color = { 0.f, 0.f, 0.f, 1.f };
|
||||
vkCmdClearColorImage(cmd, surface->value, surface->current_layout, &color, 1, &range);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue