Added support for Matrixd and Matrixf implementations, with the default

Matrix typedef's to either Matrixd or Matrixf.
This commit is contained in:
Robert Osfield
2003-09-05 20:48:42 +00:00
parent 604e478f52
commit 5b93250eb0
36 changed files with 1231 additions and 690 deletions

View File

@@ -32,7 +32,7 @@ void ColorMatrix::apply(State&) const
if (s_ARB_imaging)
{
glMatrixMode( GL_COLOR );
_matrix.glLoadMatrix();
glLoadMatrix(_matrix.ptr());
glMatrixMode( GL_MODELVIEW );
}
}