Search code examples
iphoneopengl-esretina-displayiphone-5

Using iPhone 5 full screen for non retina game


I would like to update my non retina game to use the wide screen in the iPhone 5, is it possible to use a 568x320 sized OpenGL window?


Solution

  • I have now compiled and got my game working at 568x320, all I had to do is include the Default-568h@2x file and do this in createFrameBuffer

    [self setFrame:rect];
    [self setBounds:rect];
    [self.layer setFrame:rect];
    [self.layer setBounds:rect];