diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 8bc9007310962f27c81ddac86a04945a28e8ad74..f4de3b0dc3e9a3aeb9fc4f4315427f87c04554cc 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);
 	}