Changeset 62 for trunk/src/gl/gl_enum.cc
- Timestamp:
- 05/30/13 16:44:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_enum.cc
r49 r62 185 185 } 186 186 187 unsigned int nv::type_to_gl_enum( type type )187 unsigned int nv::type_to_gl_enum( etype type ) 188 188 { 189 189 switch( type ) … … 209 209 } 210 210 211 nv:: type nv::gl_enum_to_type( unsigned int gl_enum )211 nv::etype nv::gl_enum_to_type( unsigned int gl_enum ) 212 212 { 213 213 switch( gl_enum ) … … 229 229 case GL_INT_VEC3 : return INT_VECTOR_3; 230 230 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.