Added support for Matrixd and Matrixf implementations, with the default
Matrix typedef's to either Matrixd or Matrixf.
This commit is contained in:
@@ -171,7 +171,7 @@ void VertexProgram::apply(State& state) const
|
||||
++itr)
|
||||
{
|
||||
glMatrixMode((*itr).first);
|
||||
(*itr).second.glLoadMatrix();
|
||||
glLoadMatrix((*itr).second.ptr());
|
||||
}
|
||||
glMatrixMode(GL_MODELVIEW); // restore matrix mode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user