used position attribute instead of index number
Merge branch 'master' of https://github.com/felipowsky/GLTutorialSDL