iOS OpenGL ES2 Example Project

Hi. Can somebody please post an example SDL2 iOS project that uses OpenGL ES2?

I’m trying to display 2D triangles with SDL2 and ES2 and I cannot display anything. I’m able to display triangles with SDL2 and ES1 but not ES2. With ES1 I couldn’t display textures so I thought I would upgrade to ES2 instead…

Here’s a link to my (non-working) example project if anybody is interested.

http://www.mediafire.com/download/nindc91ai0gw0mw/SDLPaul_SolidTriangle_ES2.zip

I don’t know if I have an SDL2 set-up issue or if I’m missing something in my ES2 code. Any help would be appreciated.

I got it to work - silly vertex coordinates. For anyone else needing help, checkout my answer here: