diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llrender/llrender.cpp | 12 |
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 | ||
37 | LLRender gGL; | 37 | LLRender gGL; |
38 | 38 | ||
39 | // Handy copies of last good GL matrices | ||
40 | F64 gGLModelView[16]; | ||
41 | F64 gGLLastModelView[16]; | ||
42 | F64 gGLProjection[16]; | ||
43 | S32 gGLViewport[4]; | ||
44 | |||
39 | static const U32 LL_NUM_TEXTURE_LAYERS = 8; | 45 | static const U32 LL_NUM_TEXTURE_LAYERS = 8; |
40 | 46 | ||
41 | static GLenum sGLCompareFunc[] = | 47 | static 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 | ||
454 | void LLRender::scalef(const GLfloat& x, const GLfloat& y, const GLfloat& z) | ||
455 | { | ||
456 | flush(); | ||
457 | glScalef(x,y,z); | ||
458 | } | ||
459 | |||
448 | void LLRender::pushMatrix() | 460 | void LLRender::pushMatrix() |
449 | { | 461 | { |
450 | flush(); | 462 | flush(); |