From cc93e9a096703121ee2d5f03cf34e07838513ee9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 23 Aug 2002 01:31:48 +0000 Subject: [PATCH] const const const --- stepmania/src/RageDisplay.cpp | 4 ++-- stepmania/src/RageDisplay.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 );