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

@@ -44,11 +44,12 @@
LLRender gGL;
// Handy copies of last good GL matrices
F64 gGLModelView[16];
F64 gGLLastModelView[16];
F64 gGLLastProjection[16];
F64 gGLProjection[16];
S32 gGLViewport[4];
//Would be best to migrate these to LLMatrix4a and LLVector4a, but that's too divergent right now.
LL_ALIGN_16(F32 gGLModelView[16]);
LL_ALIGN_16(F32 gGLLastModelView[16]);
LL_ALIGN_16(F32 gGLLastProjection[16]);
LL_ALIGN_16(F32 gGLProjection[16]);
LL_ALIGN_16(S32 gGLViewport[4]);
U32 LLTexUnit::sWhiteTexture = 0;