mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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.
|
if (Matrix == nullptr) // Identity.
|
||||||
return Matrix4();
|
return Matrix4();
|
||||||
|
|
||||||
return *(reinterpret_cast<const Matrix4*>(Matrix));
|
return Matrix4(Matrix->m);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t GetVertexCount(D3DPRIMITIVETYPE type, UINT count);
|
uint32_t GetVertexCount(D3DPRIMITIVETYPE type, UINT count);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user