summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorsimon <none@none>2014-04-21 13:04:07 -0700
committersimon <none@none>2014-04-21 13:04:07 -0700
commitfdb28bccb92d121f1b3dfc068a50d5cc3db43ce9 (patch)
tree391f32cc407d6e9c14bd4804b7ece4f53df3250c /indra/newview/pipeline.cpp
parent80eafe2ff3b235b6355ae2f20e8301374623e6ea (diff)
parenta5a0a0b1362da5d00cc6d09bb841ef6167bb2922 (diff)
Merge downstream code
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rwxr-xr-xindra/newview/pipeline.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 725fe1ffdd..ab6e5cc353 100755
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -4411,11 +4411,9 @@ void LLPipeline::renderGeom(LLCamera& camera, BOOL forceVBOUpdate)
sUnderWaterRender = FALSE;
}
- if (LLViewerFetchedTexture::sDefaultImagep)
- {
- gGL.getTexUnit(0)->bind(LLViewerFetchedTexture::sDefaultImagep);
- LLViewerFetchedTexture::sDefaultImagep->setAddressMode(LLTexUnit::TAM_WRAP);
- }
+ gGL.getTexUnit(0)->bind(LLViewerFetchedTexture::sDefaultImagep);
+ LLViewerFetchedTexture::sDefaultImagep->setAddressMode(LLTexUnit::TAM_WRAP);
+
//////////////////////////////////////////////
//