~george-edison55/stackfusion/trunk

« back to all changes in this revision

Viewing changes to plugins/stackfusion/src/bubble.cpp

  • Committer: Nathan Osman
  • Date: 2011-07-28 06:01:05 UTC
  • Revision ID: admin@quickmediasolutions.com-20110728060105-o3j590hanrpqc24d
Added multitexture state change and reenabled the bubble code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
    
101
101
    // Draw the stuff
102
102
    glEnableClientState(GL_VERTEX_ARRAY);
103
 
    glEnableClientState(GL_INDEX_ARRAY);
104
103
    glVertexPointer(2, GL_FLOAT, 0, m_vertices);
105
104
    glDrawElements(GL_TRIANGLE_FAN, (NUM_DIVISIONS + 1) * 4 + 2, GL_UNSIGNED_INT, m_indices);
106
105
    glDisableClientState(GL_VERTEX_ARRAY);
107
 
    glDisableClientState(GL_INDEX_ARRAY);
108
106
    
109
107
    glDisable(GL_BLEND);
110
108
    glPopMatrix();