aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llrender/llrender.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llrender/llrender.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/llrender/llrender.cpp b/linden/indra/llrender/llrender.cpp
index e9c1227..13edf8a 100644
--- a/linden/indra/llrender/llrender.cpp
+++ b/linden/indra/llrender/llrender.cpp
@@ -36,6 +36,12 @@
36 36
37LLRender gGL; 37LLRender gGL;
38 38
39// Handy copies of last good GL matrices
40F64 gGLModelView[16];
41F64 gGLLastModelView[16];
42F64 gGLProjection[16];
43S32 gGLViewport[4];
44
39static const U32 LL_NUM_TEXTURE_LAYERS = 8; 45static const U32 LL_NUM_TEXTURE_LAYERS = 8;
40 46
41static GLenum sGLCompareFunc[] = 47static GLenum sGLCompareFunc[] =
@@ -445,6 +451,12 @@ void LLRender::translatef(const GLfloat& x, const GLfloat& y, const GLfloat& z)
445 glTranslatef(x,y,z); 451 glTranslatef(x,y,z);
446} 452}
447 453
454void LLRender::scalef(const GLfloat& x, const GLfloat& y, const GLfloat& z)
455{
456 flush();
457 glScalef(x,y,z);
458}
459
448void LLRender::pushMatrix() 460void LLRender::pushMatrix()
449{ 461{
450 flush(); 462 flush();