diff --git a/indra/llui/lllocalcliprect.cpp b/indra/llui/lllocalcliprect.cpp index 058b6ae1784e0521ce96d9f25f40c9a9ddadb09c..f5a78e109941c532b899c5ab279983a5169b0ddf 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();