Changed some GL matricies to single precision.

This commit is contained in:
Shyotl
2011-11-19 19:05:19 -06:00
parent 1fd908b2c4
commit 70909f86c8
12 changed files with 103 additions and 67 deletions

View File

@@ -462,7 +462,7 @@ void LLRenderPass::applyModelMatrix(LLDrawInfo& params)
if (params.mModelMatrix != gGLLastMatrix)
{
gGLLastMatrix = params.mModelMatrix;
glLoadMatrixd(gGLModelView);
glLoadMatrixf(gGLModelView);
if (params.mModelMatrix)
{
glMultMatrixf((GLfloat*) params.mModelMatrix->mMatrix);