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


Ignore:
Timestamp:
06/01/13 00:24:07 (12 years ago)
Author:
epyon
Message:
  • etype -> datatype
  • types clarifications, and datatype_traits
File:
1 edited

Legend:

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

    r68 r70  
    185185}
    186186
    187 unsigned int nv::type_to_gl_enum( etype type )
     187unsigned int nv::datatype_to_gl_enum( datatype type )
    188188{
    189189        switch( type )
     
    213213}
    214214
    215 nv::etype nv::gl_enum_to_type( unsigned int gl_enum )
     215nv::datatype nv::gl_enum_to_datatype( unsigned int gl_enum )
    216216{
    217217        switch( gl_enum )
     
    233233        case GL_INT_VEC3       : return INT_VECTOR_3;
    234234        case GL_INT_VEC4       : return INT_VECTOR_4;
    235         default : return etype(0); // TODO: throw!
    236         }
    237 }
     235        default : return datatype(0); // TODO: throw!
     236        }
     237}
Note: See TracChangeset for help on using the changeset viewer.