get rid of some SetSize calls

This commit is contained in:
Glenn Maynard
2002-10-24 20:16:46 +00:00
parent ff00bf963d
commit 7e08ea8408
2 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -609,8 +609,10 @@ void RageDisplay::GetProjectionTransform( D3DXMATRIX* pMatrixOut )
void RageDisplay::ResetMatrixStack()
{
m_MatrixStack.SetSize( 1, 20 );
D3DXMatrixIdentity( &GetTopMatrix() );
D3DXMATRIX ident;
D3DXMatrixIdentity( &ident );
m_MatrixStack.clear();
m_MatrixStack.push_back(ident);
}
void RageDisplay::PushMatrix()