Browse Source

Vulkan: fix RGBA8 backbuffer capture (#2575)

pezcode 4 years ago
parent
commit
ae111f1946
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/renderer_vk.cpp

+ 1 - 0
src/renderer_vk.cpp

@@ -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)
 				{