开发者

iPhone native application to iPad

开发者 https://www.devze.com 2023-02-09 19:19 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消