Use glDrawElements instead of glDrawElementsBaseVertex
Refactor parameter management