1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[d3d9] Respect pitch alignment in GetFrontBufferData

This commit is contained in:
Robin Kertels 2021-08-18 21:19:22 +02:00 committed by Joshie
parent 3718cee9eb
commit 97e91b6c0f

View File

@ -456,7 +456,7 @@ namespace dxvk {
cSubresources = srcSubresourceLayers,
cLevelExtent = srcExtent
] (DxvkContext* ctx) {
ctx->copyImageToBuffer(cBuffer, 0, 0, 0,
ctx->copyImageToBuffer(cBuffer, 0, 4, 0,
cImage, cSubresources, VkOffset3D { 0, 0, 0 },
cLevelExtent);
});