1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[d3d9] respect Matrix4 alignment in ConvertMatrix

This commit is contained in:
Georg Lehmann 2021-04-03 16:59:04 +02:00 committed by Joshie
parent 02eebb8595
commit 5d3b130ec8

View File

@ -138,7 +138,7 @@ namespace dxvk {
if (Matrix == nullptr) // Identity.
return Matrix4();
return *(reinterpret_cast<const Matrix4*>(Matrix));
return Matrix4(Matrix->m);
}
uint32_t GetVertexCount(D3DPRIMITIVETYPE type, UINT count);