Code example for GL10

Methods: glColorPointer, glEnableClientState, glTexCoordPointer, glVertexPointer