summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/pipeline.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 8bc9007310..f4de3b0dc3 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -1528,12 +1528,14 @@ LLDrawPool* LLPipeline::getPoolFromTE(const LLTextureEntry* te, LLViewerImage* i
{
alpha = alpha || (imagep->getComponents() == 4) || (imagep->getComponents() == 2);
}
-
+#if 0 // Not currently used
if (te->getMediaFlags() == LLTextureEntry::MF_WEB_PAGE)
{
return gPipeline.getPool(LLDrawPool::POOL_MEDIA, imagep);
}
- else if (alpha)
+ else
+#endif
+ if (alpha)
{
return gPipeline.getPool(LLDrawPool::POOL_ALPHA);
}