mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 10:24:10 +01:00
[d3d9] Respect pitch alignment in GetFrontBufferData
This commit is contained in:
parent
3718cee9eb
commit
97e91b6c0f
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user