Changeset 62 for trunk/src/gl/gl_enum.cc


Ignore:
Timestamp:
05/30/13 16:44:38 (12 years ago)
Author:
epyon
Message:
  • type -> etype - to reduce confusion for the compiler
File:
1 edited

Legend:

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

    r49 r62  
    185185}
    186186
    187 unsigned int nv::type_to_gl_enum( type type )
     187unsigned int nv::type_to_gl_enum( etype type )
    188188{
    189189        switch( type )
     
    209209}
    210210
    211 nv::type nv::gl_enum_to_type( unsigned int gl_enum )
     211nv::etype nv::gl_enum_to_type( unsigned int gl_enum )
    212212{
    213213        switch( gl_enum )
     
    229229        case GL_INT_VEC3       : return INT_VECTOR_3;
    230230        case GL_INT_VEC4       : return INT_VECTOR_4;
    231         default : return type(0); // TODO: throw!
    232         }
    233 }
     231        default : return etype(0); // TODO: throw!
     232        }
     233}
Note: See TracChangeset for help on using the changeset viewer.