Vulkan: fix RGBA8 backbuffer capture (#2575)
This commit is contained in:
parent
59a73fe9d3
commit
ae111f1946
@ -3965,6 +3965,7 @@ VK_IMPORT_DEVICE
|
||||
if (_swapChain.m_colorFormat == TextureFormat::RGBA8)
|
||||
{
|
||||
bimg::imageSwizzleBgra8(src, pitch, width, height, src, pitch);
|
||||
_func(src, width, height, pitch, _userData);
|
||||
}
|
||||
else if (_swapChain.m_colorFormat == TextureFormat::BGRA8)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user