mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-18 17:35:44 +00:00
D3D resolveBindTexture implementation
This commit is contained in:
@@ -2491,7 +2491,7 @@ struct VulkanCommandQueue : IGraphicsCommandQueue
|
||||
if (tlOrigin)
|
||||
copyInfo.srcOffset.y = rect.location[1];
|
||||
else
|
||||
copyInfo.srcOffset.y = ctexture->m_height - rect.location[1];
|
||||
copyInfo.srcOffset.y = ctexture->m_height - rect.location[1] - rect.size[1];
|
||||
copyInfo.dstOffset = copyInfo.srcOffset;
|
||||
copyInfo.extent.width = ctexture->m_width;
|
||||
copyInfo.extent.height = ctexture->m_height;
|
||||
@@ -2531,7 +2531,7 @@ struct VulkanCommandQueue : IGraphicsCommandQueue
|
||||
if (tlOrigin)
|
||||
copyInfo.srcOffset.y = rect.location[1];
|
||||
else
|
||||
copyInfo.srcOffset.y = ctexture->m_height - rect.location[1];
|
||||
copyInfo.srcOffset.y = ctexture->m_height - rect.location[1] - rect.size[1];
|
||||
copyInfo.dstOffset = copyInfo.srcOffset;
|
||||
copyInfo.extent.width = ctexture->m_width;
|
||||
copyInfo.extent.height = ctexture->m_height;
|
||||
|
||||
Reference in New Issue
Block a user