Ignore:
Timestamp:
06/27/08 01:43:45 (16 years ago)
Author:
mattausch
Message:

friendly culling debug version with timers, no materials

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/RenderQueue.cpp

    r2795 r2800  
    2121        int tsize2 = t2 ? t2->GetByteSize() : 0; 
    2222 
    23         return tsize1 < tsize2; 
     23        return tsize1 > tsize2; 
    2424} 
    2525 
     
    8888        Debug << "\nrq size: " << GetSize() << endl; 
    8989        Debug << "texture size: " << endl; 
     90 
    9091        // show ordering by texture size 
    9192        for (sit = mEntities.begin(); sit != sit_end; ++ sit) 
     
    9394                SceneEntity *ent = *sit; 
    9495                Texture *t = ent->GetMaterial()->GetTexture(); 
     96         
    9597                int tsize = t ? t->GetByteSize() : 0; 
    9698                Debug << tsize << " "; 
Note: See TracChangeset for help on using the changeset viewer.