Changeset 506 for trunk/src/gl/gl_enum.cc
- Timestamp:
- 07/13/16 19:54:34 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_enum.cc
r503 r506 319 319 } 320 320 321 322 unsigned int nv::shader_type_to_enum( shader_type type ) 323 { 324 switch ( type ) 325 { 326 case VERTEX_SHADER: return GL_VERTEX_SHADER; 327 case FRAGMENT_SHADER: return GL_FRAGMENT_SHADER; 328 NV_RETURN_COVERED_DEFAULT( 0 ); 329 } 330 } 321 331 322 332 unsigned int nv::buffer_access_to_bitfield( buffer_access type )
Note: See TracChangeset
for help on using the changeset viewer.