Hi all,
I've been following a few examples such as the WikiBooks one here: OpenGL Programming/Modern OpenGL Tutorial 05 - Wikibooks, open books for an open world to get myself up to speed with OpenGL 2.0. I really appreciate how awesome the Mali emulator is.
However I've run into a problem when trying to run the above example, I've got to the point of loading the indices but I get GL_INVALID_ENUM when running glDrawArrays. I've attached a project that should work in OSX if you have the Mali emulator installed.
Running is pretty straight forward, do Make and then ./bin/cube
Any help would be appreciated.
@petehorsman Thanks for the suggestions, sadly I missed tidying up some of the other classes so it has unused code in there. Thankfully I'm not doing anything wrong but the team seem to have responded that it's a bug.
@kubacki Awesome, thanks. I'm pleased it's a bug rather than my own issue, I had about three different book examples doing the same thing failing.