fix crashes due to there being two RageModelVertexArraySW classes

This commit is contained in:
Glenn Maynard
2004-04-09 04:28:37 +00:00
parent a0efc346bd
commit e540237288
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -894,10 +894,10 @@ void RageDisplay_OGL::SendCurrentMatrices()
glLoadMatrixf( (const float*)&modelView );
}
class RageModelVertexArraySW : public RageModelVertexArray
class RageModelVertexArraySWOGL : public RageModelVertexArray
{
public:
RageModelVertexArraySW()
RageModelVertexArraySWOGL()
{
m_sizeVerts = 0;
m_sizeTriangles = 0;
@@ -908,7 +908,7 @@ public:
m_pTriangles = NULL;
}
~RageModelVertexArraySW()
~RageModelVertexArraySWOGL()
{
m_sizeVerts = 0;
m_sizeTriangles = 0;
@@ -982,7 +982,7 @@ protected:
RageModelVertexArray* RageDisplay_OGL::CreateRageModelVertexArray()
{
return new RageModelVertexArraySW;
return new RageModelVertexArraySWOGL;
}
void RageDisplay_OGL::DeleteRageModelVertexArray( RageModelVertexArray* p )