diff options
Diffstat (limited to 'linden/indra/newview/lldrawpoolbump.cpp')
-rw-r--r-- | linden/indra/newview/lldrawpoolbump.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/linden/indra/newview/lldrawpoolbump.cpp b/linden/indra/newview/lldrawpoolbump.cpp index 6154c5b..68fa934 100644 --- a/linden/indra/newview/lldrawpoolbump.cpp +++ b/linden/indra/newview/lldrawpoolbump.cpp | |||
@@ -584,10 +584,6 @@ BOOL LLDrawPoolBump::bindBumpMap(LLDrawInfo& params) | |||
584 | if( tex ) | 584 | if( tex ) |
585 | { | 585 | { |
586 | bump = gBumpImageList.getBrightnessDarknessImage( tex, bump_code ); | 586 | bump = gBumpImageList.getBrightnessDarknessImage( tex, bump_code ); |
587 | //------------------------------------------ | ||
588 | //error check to make sure bump is valid | ||
589 | llassert_always(!bump || bump->getNumRefs() == 1) ; | ||
590 | //------------------------------------------ | ||
591 | } | 587 | } |
592 | break; | 588 | break; |
593 | 589 | ||
@@ -602,11 +598,6 @@ BOOL LLDrawPoolBump::bindBumpMap(LLDrawInfo& params) | |||
602 | 598 | ||
603 | if (bump) | 599 | if (bump) |
604 | { | 600 | { |
605 | //------------------------------------------ | ||
606 | //error check to make sure bump is valid | ||
607 | llassert_always(bump->getNumRefs() > 0 && bump->getNumRefs() < 100000) ; | ||
608 | //------------------------------------------ | ||
609 | |||
610 | bump->bind(1); | 601 | bump->bind(1); |
611 | bump->bind(0); | 602 | bump->bind(0); |
612 | return TRUE; | 603 | return TRUE; |