glDrawElements to glDrawElementsBaseVertex, removed freeglut dependencies.