diff options
author | Dave Parks <davep@lindenlab.com> | 2011-09-14 16:30:45 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-09-14 16:30:45 -0500 |
commit | 7c95af74f195c9ec4ebc0fc0264d98cd4a85be49 (patch) | |
tree | 1bab2f431bd1df1e9f6f7058cad8d64119ec3bd3 /indra/newview/lldrawpoolsky.cpp | |
parent | c0ca2c62fd6b9a90542907ce46bf1fe0ab379e13 (diff) |
SH-2243 work in progress -- application side matrix stack management
Diffstat (limited to 'indra/newview/lldrawpoolsky.cpp')
-rw-r--r-- | indra/newview/lldrawpoolsky.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/lldrawpoolsky.cpp b/indra/newview/lldrawpoolsky.cpp index d1c8fa5fc9..8a3871b6b4 100644 --- a/indra/newview/lldrawpoolsky.cpp +++ b/indra/newview/lldrawpoolsky.cpp @@ -111,9 +111,9 @@ void LLDrawPoolSky::render(S32 pass) LLGLDisable clip(GL_CLIP_PLANE0); - glPushMatrix(); + gGL.pushMatrix(); LLVector3 origin = LLViewerCamera::getInstance()->getOrigin(); - glTranslatef(origin.mV[0], origin.mV[1], origin.mV[2]); + gGL.translatef(origin.mV[0], origin.mV[1], origin.mV[2]); S32 face_count = (S32)mDrawFace.size(); @@ -125,7 +125,7 @@ void LLDrawPoolSky::render(S32 pass) renderSkyCubeFace(i); } - glPopMatrix(); + gGL.popMatrix(); } void LLDrawPoolSky::renderSkyCubeFace(U8 side) |