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:
parent
02eebb8595
commit
5d3b130ec8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user