diff --git a/indra/newview/lldrawpoolbump.cpp b/indra/newview/lldrawpoolbump.cpp
index 989127fb6fa141f35f8c6f6dd95c35d443b3fdde..290b0471555dc95d2e669903fbc73cbae1a64d1b 100644
--- a/indra/newview/lldrawpoolbump.cpp
+++ b/indra/newview/lldrawpoolbump.cpp
@@ -266,7 +266,7 @@ void LLDrawPoolBump::render(S32 pass)
 {
 	LL_RECORD_BLOCK_TIME(FTM_RENDER_BUMP);
 	
-	if (!gPipeline.hasRenderType(LLDrawPool::POOL_SIMPLE))
+	if (!gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_BUMP))
 	{
 		return;
 	}