Changeset 471 for trunk/src/gfx/mesh_creator.cc
- Timestamp:
- 09/21/15 19:13:26 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gfx/mesh_creator.cc
r470 r471 17 17 if ( m_data->m_flat ) return; 18 18 merge_keys(); 19 uint 32max_frames = 0;19 uint16 max_frames = 0; 20 20 21 21 nv::vector< sint16 > ids; … … 65 65 size_t count = ( keys ? keys->get_channel_size(0) : 0 ); 66 66 size_t pcount = ( pkeys ? pkeys->get_channel_size(0) : 0 ); 67 max_frames = nv::max<uint 32>( count, max_frames );67 max_frames = nv::max<uint16>( uint16( count ), max_frames ); 68 68 if ( pkeys && pkeys->size() > 0 && keys && keys->size() > 0 ) 69 69 {
Note: See TracChangeset
for help on using the changeset viewer.