I have a vertex array and an array of indices. Unfortanatly the vertex array contains both triangle fans and triangle strips. I have access of what type of polygon the particular indice belongs to. But how can i include it w/ my glDrawElements.
type_array(same size as my indice array, stores ints which refer to what type of primitive the particular indice goes with.)