i would like to port my application (pure OpenGL ES based) on the iPad
currently it runs in ipad on some kind of compatibility mode, where i can scale it to 2x
however i want to have it native, not launching in 1 / 2 resolution (btw iam getting the screen size from the renderbuffer)
gl开发者_如何学编程GetRenderbufferParameterivOES(GL_RENDERBUFFER_OES, GL_RENDERBUFFER_WIDTH_OES, &backingWidth);
glGetRenderbufferParameterivOES(GL_RENDERBUFFER_OES, GL_RENDERBUFFER_HEIGHT_OES, &backingHeight);
Just in project properties, set the key Target device family to iPhone/iPad
精彩评论