add hardware vertex buffers for OpenGL renderer

This commit is contained in:
Chris Danford
2004-04-12 03:07:44 +00:00
parent ef53c07bec
commit 3597e45bbc
5 changed files with 169 additions and 15 deletions
+10
View File
@@ -240,6 +240,16 @@ void RageModelGeometry::LoadMilkshapeAscii( CString sPath )
OptimizeBones();
// send the finalized vertices to the graphics card
{
for( unsigned i = 0; i < m_Meshes.size(); i++ )
{
msMesh& mesh = m_Meshes[i];
RageModelVertexArray *&pVertices = mesh.Vertices;
pVertices->OnChanged();
}
}
f.Close();
}