summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorrichard <none@none>2009-11-11 11:19:37 -0800
committerrichard <none@none>2009-11-11 11:19:37 -0800
commitabc76784d5f172d992ad892398939b780374dcb4 (patch)
tree4eb8bb94cc313a7e3f698e5b1193da3f317d55ce /indra/newview
parentf112356d77ab0dd6e47446adf0513975bc4f38a7 (diff)
EXT-2382 - fix for clipping of minimap
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llnetmap.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llnetmap.cpp b/indra/newview/llnetmap.cpp
index 4286582cdc..6145588df2 100644
--- a/indra/newview/llnetmap.cpp
+++ b/indra/newview/llnetmap.cpp
@@ -155,11 +155,9 @@ void LLNetMap::draw()
F32 rotation = 0;
{
- LLGLEnable scissor(GL_SCISSOR_TEST);
-
+ LLLocalClipRect clip(getLocalRect());
{
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
- LLLocalClipRect clip(getLocalRect());
glMatrixMode(GL_MODELVIEW);