const const const
This commit is contained in:
@@ -585,12 +585,12 @@ void RageDisplay::FlushQueue()
|
|||||||
m_iDrawsSinceLastCheck++;
|
m_iDrawsSinceLastCheck++;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RageDisplay::SetViewTransform( D3DXMATRIX* pMatrix )
|
void RageDisplay::SetViewTransform( const D3DXMATRIX* pMatrix )
|
||||||
{
|
{
|
||||||
FlushQueue();
|
FlushQueue();
|
||||||
m_pd3dDevice->SetTransform( D3DTS_VIEW, pMatrix );
|
m_pd3dDevice->SetTransform( D3DTS_VIEW, pMatrix );
|
||||||
}
|
}
|
||||||
void RageDisplay::SetProjectionTransform( D3DXMATRIX* pMatrix )
|
void RageDisplay::SetProjectionTransform( const D3DXMATRIX* pMatrix )
|
||||||
{
|
{
|
||||||
FlushQueue();
|
FlushQueue();
|
||||||
m_pd3dDevice->SetTransform( D3DTS_PROJECTION, pMatrix );
|
m_pd3dDevice->SetTransform( D3DTS_PROJECTION, pMatrix );
|
||||||
|
|||||||
@@ -88,8 +88,8 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
// LPDIRECT3DVERTEXBUFFER8 GetVertexBuffer() { return m_pVB; };
|
// LPDIRECT3DVERTEXBUFFER8 GetVertexBuffer() { return m_pVB; };
|
||||||
void SetViewTransform( D3DXMATRIX* pMatrix );
|
void SetViewTransform( const D3DXMATRIX* pMatrix );
|
||||||
void SetProjectionTransform( D3DXMATRIX* pMatrix );
|
void SetProjectionTransform( const D3DXMATRIX* pMatrix );
|
||||||
void GetViewTransform( D3DXMATRIX* pMatrixOut );
|
void GetViewTransform( D3DXMATRIX* pMatrixOut );
|
||||||
void GetProjectionTransform( D3DXMATRIX* pMatrixOut );
|
void GetProjectionTransform( D3DXMATRIX* pMatrixOut );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user