Uniform gray background for texture console window.

meow-7.2.2
Monty Brandenberg 2012-08-03 14:02:36 -04:00
parent fdb2ae8335
commit 7d98d1afb0
1 changed files with 2 additions and 2 deletions

View File

@ -524,8 +524,8 @@ void LLGLTexMemBar::draw()
// Gray background using completely magic numbers
gGL.color4f(0.f, 0.f, 0.f, 0.25f);
const LLRect & rect(getRect());
gl_rect_2d(-4, v_offset, rect.mRight - rect.mLeft + 2, v_offset + line_height*4);
// const LLRect & rect(getRect());
// gl_rect_2d(-4, v_offset, rect.mRight - rect.mLeft + 2, v_offset + line_height*4);
std::string text = "";
LLFontGL::getFontMonospace()->renderUTF8(text, 0, 0, v_offset + line_height*6,