summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-10-03 14:30:34 -0700
committerRichard Linden <none@none>2013-10-03 14:30:34 -0700
commit754e8752a9b9a2e75d425a10cb8a0a6f85ad4bf5 (patch)
tree8c58bdba12578ccd5267bab122c2a63187abcb7a /indra/llrender
parentb3d42e9b99db7e14354338383239122ef4cbeade (diff)
added initial memory usage tracking for lltrace
Diffstat (limited to 'indra/llrender')
-rwxr-xr-xindra/llrender/llvertexbuffer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp
index 0cfc11ef19..968b796d6b 100755
--- a/indra/llrender/llvertexbuffer.cpp
+++ b/indra/llrender/llvertexbuffer.cpp
@@ -1190,7 +1190,7 @@ void LLVertexBuffer::createGLBuffer(U32 size)
mMappedData = (U8*)ALLOCATE_MEM(sPrivatePoolp, size);
disclaimMem(mSize);
mSize = size;
- disclaimMem(mSize);
+ claimMem(mSize);
}
}
@@ -2272,10 +2272,10 @@ void LLVertexBuffer::setBuffer(U32 data_mask)
if (unsatisfied_mask & (1 << TYPE_INDEX))
{
- llinfos << "Missing indices" << llendl;
+ LL_INFOS() << "Missing indices" << LL_ENDL;
}
- llerrs << "Shader consumption mismatches data provision." << llendl;
+ LL_ERRS() << "Shader consumption mismatches data provision." << LL_ENDL;
}
}
}