summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorRunitai <>2010-01-11 11:21:52 -0600
committerRunitai <>2010-01-11 11:21:52 -0600
commit2a00a16f57daf7c3f99b0374901c03644a5b5f1b (patch)
treed0f5f630db7a6610a9c350bbb6afbe9cebe651ae /indra/llui
parent6a1a93be1addb3cdb86fd163046a051344312cf2 (diff)
EXT-3784 Fix for first menu item going blank when highlighted on ATI cards.
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llmenugl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index 527c0a1b87..bd67949c2a 100644
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -46,6 +46,7 @@
#include "llmenugl.h"
+#include "llgl.h"
#include "llmath.h"
#include "llrender.h"
#include "llfocusmgr.h"
@@ -477,6 +478,7 @@ void LLMenuItemGL::draw( void )
if (dynamic_cast<LLMenuItemCallGL*>(this))
debug_count++;
gGL.color4fv( mHighlightBackground.get().mV );
+
gl_rect_2d( 0, getRect().getHeight(), getRect().getWidth(), 0 );
}