OpenGL on the iPad
- by Joe Cannatti
I have an OpenGL project that is a universal project for iPhone/iPad. Basically it is just rendering simple models to the screen. It works great with no OpenGL errors on the iPhone device and iPad simulator. On the iPad device however, i get an OpenGL error and nothing renders.
1282 GL_INVALID_OPERATION
immediately after calling
[context renderbufferStorage:GL_RENDERBUFFER_OES fromDrawable:layer];
I can't seem to come up with any reason for this. Any help?