This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[OpenGLES 2.0 Emualtor] [OSX] Trouble with glDrawArrays GL_INVALID_ENUM

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.

gl_cube.zip
Parents
  • Hi pbrooks,

    Thanks for your report. I was able to reproduce your problem and I have raised it internally as it looks like there might be an issue with OpenGL ES 2.0 Emulator.

    Luckily you have found a workaround.

    We will be adding MacOSX support to OpenGL ES 3.0 Emulator, so the issue should be fixed by then.

    Thanks,

    Jacek

Reply
  • Hi pbrooks,

    Thanks for your report. I was able to reproduce your problem and I have raised it internally as it looks like there might be an issue with OpenGL ES 2.0 Emulator.

    Luckily you have found a workaround.

    We will be adding MacOSX support to OpenGL ES 3.0 Emulator, so the issue should be fixed by then.

    Thanks,

    Jacek

Children