OpenGL on the iPad
        Posted  
        
            by Joe Cannatti
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Joe Cannatti
        
        
        
        Published on 2010-04-28T14:24:48Z
        Indexed on 
            2010/04/28
            14:33 UTC
        
        
        Read the original article
        Hit count: 461
        
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?
© Stack Overflow or respective owner