Changeset 204 for trunk/src/gl


Ignore:
Timestamp:
08/17/13 21:22:56 (12 years ago)
Author:
cahir
Message:

Fix warnings on MacOSX 64-bit with clang 3.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gl/gl_texture2d.cc

    r160 r204  
    4444void nv::gl_texture2d::bind( size_t slot )
    4545{
    46         glActiveTexture( GL_TEXTURE0 + slot );
     46        glActiveTexture( GL_TEXTURE0 + static_cast< GLenum >( slot ) );
    4747        glBindTexture( GL_TEXTURE_2D, m_name.get_value() );
    4848}
Note: See TracChangeset for help on using the changeset viewer.