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.
Hi Jacek,
Thanks for the swift response, good to hear that it's a bug.
Will you be releasing another version of the 2.0 emulator with the fix?
I do like the Mali emulator as it lets me learn against OpenGL ES 2.0 with all the possible resources and that I get to decouple myself from IDE's such as XCode. A quick side note is that it'll be great if you guys included a Makefile solution for OSX by default.
Thanks!
Hi pbrooks,
I don't think there will be a fix for OpenGL ES 2.0 Emulator as it is being deprecated in favour of the OpenGL ES 3.0 Emulator, which allows the developers to create OpenGL ES 2.0 context if needed.
I have added your suggestion to provide Makefile for MacOSX example to the list of the things to consider while adding MacOSX support to OpenGL ES 3.0 Emulator.
Have a good day,
Jacek