summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorrichard <none@none>2009-11-04 19:22:55 -0800
committerrichard <none@none>2009-11-04 19:22:55 -0800
commit0292fec348dbe3c65c6e56b2bef8149e4ce58d54 (patch)
tree831a25dd9b9ec7e0963252ada329a3579f185166 /indra/llui
parent723a86f608879d192347039570e37bd1c04752e1 (diff)
fixed clipping not working with gl_rect calls
EXT-1397 - description edit field is broken
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/lllocalcliprect.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/lllocalcliprect.cpp b/indra/llui/lllocalcliprect.cpp
index 058b6ae178..f5a78e1099 100644
--- a/indra/llui/lllocalcliprect.cpp
+++ b/indra/llui/lllocalcliprect.cpp
@@ -77,6 +77,8 @@ LLScreenClipRect::LLScreenClipRect(const LLRect& rect, BOOL enabled)
LLScreenClipRect::~LLScreenClipRect()
{
+ // finish any deferred calls in this clipping region
+ gGL.flush();
if (mEnabled)
{
popClipRect();