summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Bell <josh@lindenlab.com>2007-01-08 21:58:33 +0000
committerJosh Bell <josh@lindenlab.com>2007-01-08 21:58:33 +0000
commit8534623734e64387736ddb76683939104d796ade (patch)
treedaad1beb13bb875e9d49a7d65a43742723b37c35
parentfbf49910f34278a39dffff7e6c8bc654839988fb (diff)
Showstopper merge from maintenance
svn merge -r 56564:56570 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance NOTE: This skips -r 56560:56464 which should be merged after being QA'd
-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);
}