Skip to content

Commit 7e169bf

Browse files
committed
Small texture console adjustment
1. last element is 14th, but index is 13 so states were shifted by 1 2. Adjust background, mem usage was going out of bounds
1 parent ad84bf5 commit 7e169bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

indra/newview/lldebugview.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void LLDebugView::init()
105105
addChild(gSceneMonitorView);
106106
gSceneMonitorView->setRect(rect);
107107

108-
r.set(150, rect.getHeight() - 60, 820, 110);
108+
r.set(150, rect.getHeight() - 60, 835, 110);
109109
LLTextureView::Params tvp;
110110
tvp.name("gTextureView");
111111
tvp.rect(r);

indra/newview/lltextureview.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ void LLTextureBar::draw()
226226
{ "WRT", LLColor4::purple },// WRITE_TO_CACHE
227227
{ "WWT", LLColor4::orange },// WAIT_ON_WRITE
228228
{ "END", LLColor4::red }, // DONE
229-
#define LAST_STATE 14
229+
#define LAST_STATE 13
230230
{ "CRE", LLColor4::magenta }, // LAST_STATE+1
231231
{ "FUL", LLColor4::green }, // LAST_STATE+2
232232
{ "BAD", LLColor4::red }, // LAST_STATE+3

0 commit comments

Comments
 (0)