summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpostcard.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-10-19 16:21:18 -0500
committerDave Parks <davep@lindenlab.com>2011-10-19 16:21:18 -0500
commitf19f43c74606e1f158cdabe9e783f9c82386b7b7 (patch)
tree64c1a6d7d1d8a1ae0b30baf6bd519d8140136971 /indra/newview/llfloaterpostcard.cpp
parentdd61baa3401a09bd8ff1e894514c15390946cdb3 (diff)
parent4ec72ed0a61157dd5fcc1bc4cc91054664ee75b5 (diff)
merge
Diffstat (limited to 'indra/newview/llfloaterpostcard.cpp')
-rw-r--r--indra/newview/llfloaterpostcard.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/newview/llfloaterpostcard.cpp b/indra/newview/llfloaterpostcard.cpp
index 3bcbb987f7..2fd7c0ef0e 100644
--- a/indra/newview/llfloaterpostcard.cpp
+++ b/indra/newview/llfloaterpostcard.cpp
@@ -159,11 +159,11 @@ void LLFloaterPostcard::draw()
}
{
- glMatrixMode(GL_TEXTURE);
- glPushMatrix();
+ gGL.matrixMode(LLRender::MM_TEXTURE);
+ gGL.pushMatrix();
{
- glScalef(mImageScale.mV[VX], mImageScale.mV[VY], 1.f);
- glMatrixMode(GL_MODELVIEW);
+ gGL.scalef(mImageScale.mV[VX], mImageScale.mV[VY], 1.f);
+ gGL.matrixMode(LLRender::MM_MODELVIEW);
gl_draw_scaled_image(rect.mLeft,
rect.mBottom,
rect.getWidth(),
@@ -171,9 +171,9 @@ void LLFloaterPostcard::draw()
mViewerImage.get(),
LLColor4::white % alpha);
}
- glMatrixMode(GL_TEXTURE);
- glPopMatrix();
- glMatrixMode(GL_MODELVIEW);
+ gGL.matrixMode(LLRender::MM_TEXTURE);
+ gGL.popMatrix();
+ gGL.matrixMode(LLRender::MM_MODELVIEW);
}
}
}