Changeset 70 for trunk/src/gl/gl_enum.cc
- Timestamp:
- 06/01/13 00:24:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_enum.cc
r68 r70 185 185 } 186 186 187 unsigned int nv:: type_to_gl_enum( etype type )187 unsigned int nv::datatype_to_gl_enum( datatype type ) 188 188 { 189 189 switch( type ) … … 213 213 } 214 214 215 nv:: etype nv::gl_enum_to_type( unsigned int gl_enum )215 nv::datatype nv::gl_enum_to_datatype( unsigned int gl_enum ) 216 216 { 217 217 switch( gl_enum ) … … 233 233 case GL_INT_VEC3 : return INT_VECTOR_3; 234 234 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.