mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #8042 from Robyt3/Vulkan-Blitting-Fix
Fix editor color picker when Vulkan image blitting used
This commit is contained in:
commit
5ff25a9377
|
@ -1431,7 +1431,7 @@ protected:
|
|||
ImageBlitRegion.srcSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
|
||||
ImageBlitRegion.srcSubresource.layerCount = 1;
|
||||
ImageBlitRegion.srcOffsets[0] = SrcOffset;
|
||||
ImageBlitRegion.srcOffsets[1] = BlitSize;
|
||||
ImageBlitRegion.srcOffsets[1] = {SrcOffset.x + BlitSize.x, SrcOffset.y + BlitSize.y, SrcOffset.z + BlitSize.z};
|
||||
ImageBlitRegion.dstSubresource.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
|
||||
ImageBlitRegion.dstSubresource.layerCount = 1;
|
||||
ImageBlitRegion.dstOffsets[1] = BlitSize;
|
||||
|
|
Loading…
Reference in a new issue