Missed a line. This assert should only be evaluated when running in deferred.

This commit is contained in:
Shyotl
2015-06-03 12:46:37 -05:00
parent 0688cda8d2
commit 283f5298d5

View File

@@ -6232,7 +6232,7 @@ void LLVolumeGeometryManager::genDrawInfo(LLSpatialGroup* group, U32 mask, LLFac
bool is_bump = te->getBumpmap() > 0 && te->getBumpmap() < 18;
if(is_bump)
if(is_bump && LLPipeline::sRenderDeferred)
{
llassert_always(mask & LLVertexBuffer::MAP_TANGENT);
}