Skip to content
Snippets Groups Projects
Commit 0292fec3 authored by richard's avatar richard
Browse files

fixed clipping not working with gl_rect calls

EXT-1397 - description edit field is broken
parent 723a86f6
No related branches found
No related tags found
No related merge requests found
...@@ -77,6 +77,8 @@ LLScreenClipRect::LLScreenClipRect(const LLRect& rect, BOOL enabled) ...@@ -77,6 +77,8 @@ LLScreenClipRect::LLScreenClipRect(const LLRect& rect, BOOL enabled)
LLScreenClipRect::~LLScreenClipRect() LLScreenClipRect::~LLScreenClipRect()
{ {
// finish any deferred calls in this clipping region
gGL.flush();
if (mEnabled) if (mEnabled)
{ {
popClipRect(); popClipRect();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment