diff --git a/stepmania/src/RageDisplay.cpp b/stepmania/src/RageDisplay.cpp index 2ca24bb60d..a6fcb4a64c 100644 --- a/stepmania/src/RageDisplay.cpp +++ b/stepmania/src/RageDisplay.cpp @@ -585,12 +585,12 @@ void RageDisplay::FlushQueue() m_iDrawsSinceLastCheck++; } -void RageDisplay::SetViewTransform( D3DXMATRIX* pMatrix ) +void RageDisplay::SetViewTransform( const D3DXMATRIX* pMatrix ) { FlushQueue(); m_pd3dDevice->SetTransform( D3DTS_VIEW, pMatrix ); } -void RageDisplay::SetProjectionTransform( D3DXMATRIX* pMatrix ) +void RageDisplay::SetProjectionTransform( const D3DXMATRIX* pMatrix ) { FlushQueue(); m_pd3dDevice->SetTransform( D3DTS_PROJECTION, pMatrix ); diff --git a/stepmania/src/RageDisplay.h b/stepmania/src/RageDisplay.h index 702a417351..f4a80d93b0 100644 --- a/stepmania/src/RageDisplay.h +++ b/stepmania/src/RageDisplay.h @@ -88,8 +88,8 @@ public: // LPDIRECT3DVERTEXBUFFER8 GetVertexBuffer() { return m_pVB; }; - void SetViewTransform( D3DXMATRIX* pMatrix ); - void SetProjectionTransform( D3DXMATRIX* pMatrix ); + void SetViewTransform( const D3DXMATRIX* pMatrix ); + void SetProjectionTransform( const D3DXMATRIX* pMatrix ); void GetViewTransform( D3DXMATRIX* pMatrixOut ); void GetProjectionTransform( D3DXMATRIX* pMatrixOut );