mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 08:42:45 +03:00
fix(gx): correct types
This commit is contained in:
parent
f38f077cb5
commit
0fd90bae69
@ -1705,12 +1705,12 @@ void CGxDeviceD3d::IStateSyncVertexPtrs() {
|
||||
|
||||
void CGxDeviceD3d::IStateSyncXforms() {
|
||||
if (this->m_xforms[GxXform_Projection].m_dirty) {
|
||||
this->m_d3dDevice->SetTransform(D3DTS_PROJECTION, &this->m_projNative);
|
||||
this->m_d3dDevice->SetTransform(D3DTS_PROJECTION, reinterpret_cast<LPD3DMATRIX>(&this->m_projNative));
|
||||
this->m_xforms[GxXform_Projection].m_dirty = 0;
|
||||
}
|
||||
|
||||
if (this->m_xforms[GxXform_View].m_dirty) {
|
||||
this->m_d3dDevice->SetTransform(D3DTS_VIEW, &this->m_xforms[GxXform_View].TopConst());
|
||||
this->m_d3dDevice->SetTransform(D3DTS_VIEW, reinterpret_cast<const LPD3DMATRIX>(&this->m_xforms[GxXform_View].TopConst()));
|
||||
this->m_xforms[GxXform_View].m_dirty = 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user