- Timestamp:
- 07/04/13 08:12:47 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gfx/texture_atlas.cc
r142 r144 87 87 glm::ivec3 node = m_nodes[ index ]; 88 88 89 if ( ( node.x + size.x ) > ( m_size.x - 1) )89 if ( ( node.x + size.x ) > ( m_size.x ) ) 90 90 { 91 91 return -1; … … 102 102 y = node.y; 103 103 } 104 if( (y + size.y) > ( m_size.y-1) )104 if( (y + size.y) > ( m_size.y ) ) 105 105 { 106 106 return -1;
Note: See TracChangeset
for help on using the changeset viewer.