summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpostcard.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-11-02 11:46:18 -0500
committerDave Parks <davep@lindenlab.com>2011-11-02 11:46:18 -0500
commit55f69de90c9b32c7fa25f16ec7d1f41064eff614 (patch)
tree054b0d99490cc6600b3be0e3cb2aaf7918f3fe50 /indra/newview/llfloaterpostcard.cpp
parent8f47f2222c207938c8fc55158a6fff64ccf1e781 (diff)
parent1bea08335b6c2fa31f414db2fe7316a118b2ec18 (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);
}
}
}