fixed clipping not working with gl_rect calls

EXT-1397 - description edit field is broken
master
richard 2009-11-04 19:22:55 -08:00
parent 723a86f608
commit 0292fec348
1 changed files with 2 additions and 0 deletions

View File

@ -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();