Changeset 146 for trunk/src


Ignore:
Timestamp:
07/05/13 16:58:42 (12 years ago)
Author:
epyon
Message:
  • warnings fixed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gfx/texture_atlas.cc

    r145 r146  
    8787        glm::ivec3 node = m_nodes[ index ];
    8888
    89         if ( node.x + size.x > m_size.x - m_border )
     89        if ( node.x + size.x > m_size.x - static_cast<int>( m_border ) )
    9090        {
    9191                return -1;
     
    102102                        y = node.y;
    103103                }
    104                 if ( y + size.y > m_size.y - m_border )
     104                if ( y + size.y > m_size.y - static_cast<int>( m_border ) )
    105105                {
    106106                        return -1;
Note: See TracChangeset for help on using the changeset viewer.