aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llscrollcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llui/llscrollcontainer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/linden/indra/llui/llscrollcontainer.cpp b/linden/indra/llui/llscrollcontainer.cpp
index be41aa8..b910964 100644
--- a/linden/indra/llui/llscrollcontainer.cpp
+++ b/linden/indra/llui/llscrollcontainer.cpp
@@ -505,8 +505,7 @@ void LLScrollableContainerView::draw()
505 BOOL show_h_scrollbar = FALSE; 505 BOOL show_h_scrollbar = FALSE;
506 calcVisibleSize( mScrolledView->getRect(), &visible_width, &visible_height, &show_h_scrollbar, &show_v_scrollbar ); 506 calcVisibleSize( mScrolledView->getRect(), &visible_width, &visible_height, &show_h_scrollbar, &show_v_scrollbar );
507 507
508 LLGLEnable scissor_test(GL_SCISSOR_TEST); 508 LLLocalClipRect clip(LLRect(mInnerRect.mLeft,
509 LLUI::setScissorRegionLocal(LLRect(mInnerRect.mLeft,
510 mInnerRect.mBottom + (show_h_scrollbar ? SCROLLBAR_SIZE : 0) + visible_height, 509 mInnerRect.mBottom + (show_h_scrollbar ? SCROLLBAR_SIZE : 0) + visible_height,
511 visible_width, 510 visible_width,
512 mInnerRect.mBottom + (show_h_scrollbar ? SCROLLBAR_SIZE : 0) 511 mInnerRect.mBottom + (show_h_scrollbar ? SCROLLBAR_SIZE : 0)