aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolbump.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:57 -0500
committerJacek Antonelli2008-08-15 23:45:57 -0500
commit7e3007b63521c4b0c5bbad1c3964a557fc526ce2 (patch)
treeab231ed574db618873d6ebb25293cf7c0cb6d26e /linden/indra/newview/lldrawpoolbump.cpp
parentSecond Life viewer sources 1.20.10 (diff)
downloadmeta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.zip
meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.gz
meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.bz2
meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.xz
Second Life viewer sources 1.20.11
Diffstat (limited to 'linden/indra/newview/lldrawpoolbump.cpp')
-rw-r--r--linden/indra/newview/lldrawpoolbump.cpp9
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;