From 0292fec348dbe3c65c6e56b2bef8149e4ce58d54 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 4 Nov 2009 19:22:55 -0800 Subject: fixed clipping not working with gl_rect calls EXT-1397 - description edit field is broken --- indra/llui/lllocalcliprect.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); -- cgit v1.2.3