Changeset 342 for trunk/src/gl
- Timestamp:
- 10/09/14 02:55:38 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_context.cc
r335 r342 719 719 } 720 720 721 void nv::gl_context::set_draw_buffers( uint32 count, output_slot* slots ) 722 { 721 void nv::gl_context::set_draw_buffers( uint32 count, const output_slot* slots ) 722 { 723 if ( count == 0 ) return; 724 if ( count == 1 ) 725 { 726 set_draw_buffer( slots[0] ); 727 return; 728 } 723 729 unsigned int buffers[8]; 724 730 count = glm::min<uint32>( count, 8 );
Note: See TracChangeset
for help on using the changeset viewer.