Fixed texture memory bars in texture console

Thu, 13 Feb 2014 21:07:30 +0100

author
Ansariel
date
Thu, 13 Feb 2014 21:07:30 +0100
changeset 40759
d461d91f64e4
parent 40758
2a17f37517e8
child 40760
b53af5dd80c2

Fixed texture memory bars in texture console

indra/newview/lltextureview.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/lltextureview.cpp	Wed Feb 12 18:58:40 2014 -0800
     1.2 +++ b/indra/newview/lltextureview.cpp	Thu Feb 13 21:07:30 2014 +0100
     1.3 @@ -565,7 +565,7 @@
     1.4  	S32 bar_left = 0;
     1.5  	S32 bar_width = 200;
     1.6  	S32 bar_space = 32;
     1.7 -	S32 top = line_height*4 - 2 + v_offset;
     1.8 +	S32 top = line_height*5 - 2 + v_offset;
     1.9  	S32 bottom = top - 6;
    1.10  	S32 left = bar_left;
    1.11  	S32 right = left + bar_width;
    1.12 @@ -577,7 +577,7 @@
    1.13  		
    1.14  	left = bar_left;
    1.15  	text = "GL";
    1.16 -	LLFontGL::getFontMonospace()->renderUTF8(text, 0, left, v_offset + line_height*4,
    1.17 +	LLFontGL::getFontMonospace()->renderUTF8(text, 0, left, v_offset + line_height*5,
    1.18  											 text_color, LLFontGL::LEFT, LLFontGL::TOP);
    1.19  	
    1.20  	left = bar_left+20;
    1.21 @@ -605,7 +605,7 @@
    1.22  
    1.23  	left = bar_left;
    1.24  	text = "Bound";
    1.25 -	LLFontGL::getFontMonospace()->renderUTF8(text, 0, left, v_offset + line_height*4,
    1.26 +	LLFontGL::getFontMonospace()->renderUTF8(text, 0, left, v_offset + line_height*5,
    1.27  									 text_color, LLFontGL::LEFT, LLFontGL::TOP);
    1.28  	left = bar_left + 42;
    1.29  	right = left + bar_width;

mercurial