diff options
author | Dave Parks <davep@lindenlab.com> | 2011-08-11 14:20:57 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-08-11 14:20:57 -0500 |
commit | 80398b3ccb0c4a6ff3ac20b3565619fe5cecc2f9 (patch) | |
tree | 623156a93d159ece460a31590701d7cbdc701cdc /indra/newview/lltextureview.cpp | |
parent | 610764fbfce75f54c95d4b10c2a8f9482a7a7b80 (diff) | |
parent | 2dd8ce53e4e0d14f2bc20796eb6bdf1ef12a65df (diff) |
merge
Diffstat (limited to 'indra/newview/lltextureview.cpp')
-rw-r--r-- | indra/newview/lltextureview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lltextureview.cpp b/indra/newview/lltextureview.cpp index 0115115a23..f4b01a6bab 100644 --- a/indra/newview/lltextureview.cpp +++ b/indra/newview/lltextureview.cpp @@ -571,7 +571,7 @@ void LLGLTexMemBar::draw() color = (total_mem < llfloor(max_total_mem * texmem_lower_bound_scale)) ? LLColor4::green : (total_mem < max_total_mem) ? LLColor4::yellow : LLColor4::red; color[VALPHA] = .75f; - glColor4fv(color.mV); + gGL.diffuseColor4fv(color.mV); gl_rect_2d(left, top, right, bottom); // red/yellow/green @@ -594,7 +594,7 @@ void LLGLTexMemBar::draw() color = (bound_mem < llfloor(max_bound_mem * texmem_lower_bound_scale)) ? LLColor4::green : (bound_mem < max_bound_mem) ? LLColor4::yellow : LLColor4::red; color[VALPHA] = .75f; - glColor4fv(color.mV); + gGL.diffuseColor4fv(color.mV); gl_rect_2d(left, top, right, bottom); #else |