Changeset 499 for trunk/src/gl/gl_enum.cc
- Timestamp:
- 06/06/16 18:54:52 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_enum.cc
r492 r499 287 287 } 288 288 289 290 289 unsigned int nv::output_slot_to_enum( output_slot slot ) 291 290 { … … 307 306 } 308 307 308 309 unsigned int nv::buffer_access_to_bitfield( buffer_access type ) 310 { 311 switch ( type ) 312 { 313 case WRITE_UNSYNCHRONIZED : return GL_MAP_WRITE_BIT | GL_MAP_UNSYNCHRONIZED_BIT; 314 default: return 0; // TODO: throw! 315 } 316 } 309 317 310 318 unsigned int nv::datatype_to_gl_enum( datatype type )
Note: See TracChangeset
for help on using the changeset viewer.