Using kEAGLRenderingAPIOpenGLES2 causes bad access in glMatrixMode

Posted by hyn on Stack Overflow See other posts from Stack Overflow or by hyn
Published on 2010-04-25T03:31:44Z Indexed on 2010/04/25 3:33 UTC
Read the original article Hit count: 606

Filed under:
|
|
|

I am trying to use the ES 2 API in my app but using kEAGLRenderingAPIOpenGLES2 causes bad access at glMatrixMode(). There is a similar question here but doesn't answer my question. If I use kEAGLRenderingAPIOpenGLES1 then everything is fine. I could reproduce the same problem with Apple's sample code. What can I do to make glMatrixMode() work in ES 2?

© Stack Overflow or respective owner

Related posts about opengl-es

Related posts about iphone