Ignore:
Timestamp:
06/11/13 22:33:08 (12 years ago)
Author:
epyon
Message:
  • support for indexed arrays
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gl/gl_vertex_buffer.cc

    r100 r116  
    9292        }
    9393
     94        if ( m_index )
     95        {
     96                m_index->bind();
     97        }
    9498}
    9599
    96100void gl_vertex_array::unbind()
    97101{
     102        if ( m_index )
     103        {
     104                m_index->unbind();
     105        }
     106
    98107        for ( vertex_buffer_attribute_map::iterator i = m_map.begin();  i != m_map.end(); ++i )
    99108        {
Note: See TracChangeset for help on using the changeset viewer.