diff options
author | Dave Parks <davep@lindenlab.com> | 2010-03-05 10:52:04 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-03-05 10:52:04 -0600 |
commit | 3799b1bcf325f1519b9dc07c2a0774b8e579bd19 (patch) | |
tree | d7683e6adf57a6234b5160e6b46ff9b4c8db59ae /indra/newview/lldrawpool.cpp | |
parent | b27ce5bc88af7195f18b1d8752056d80620be702 (diff) | |
parent | 988520f3a7d5d5e817326945d8b9c3808c4eb5f7 (diff) |
merge
Diffstat (limited to 'indra/newview/lldrawpool.cpp')
-rw-r--r-- | indra/newview/lldrawpool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpool.cpp b/indra/newview/lldrawpool.cpp index ef946ac49e..ae30af3647 100644 --- a/indra/newview/lldrawpool.cpp +++ b/indra/newview/lldrawpool.cpp @@ -442,7 +442,6 @@ void LLRenderPass::renderTexture(U32 type, U32 mask) void LLRenderPass::pushBatches(U32 type, U32 mask, BOOL texture) { - llpushcallstacks ; for (LLCullResult::drawinfo_list_t::iterator i = gPipeline.beginRenderMap(type); i != gPipeline.endRenderMap(type); ++i) { LLDrawInfo* pparams = *i; @@ -475,6 +474,7 @@ void LLRenderPass::pushBatch(LLDrawInfo& params, U32 mask, BOOL texture) { if (params.mTexture.notNull()) { + params.mTexture->addTextureStats(params.mVSize); gGL.getTexUnit(0)->bind(params.mTexture, TRUE) ; if (params.mTextureMatrix) { |