Могу ли я увеличить фрейм EAGLView (я устанавливаю CGRectMake (0,0,320 *3480* 3) выше 1024, если я установил фрейм выше 1024, он работает правильно в iOS 4.2, но в устройствах iOS 4.1 не работает, если я установилкадр выше 1024.
DO i need to add any extra code for 4.1?
Why the textures are not displaying in IOS 4.1 devices if i set the frame of EAGLView above 1024?
ОБНОВЛЕНО : я создал пример проекта openGL и заменил didFinishLaunchingWithOptions следующим кодом .... Он хорошо работает в симуляторе, но ничего не отображается на устройства .
#define VIEWSIZEFACTOR 3 // our EAGLView nees to be multiple of 320X480 to maintain aspect ratio.
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
CGRect rect = [[UIScreen mainScreen] bounds];
[self.viewController.view setFrame:CGRectMake(-500, -500, rect.size.width*VIEWSIZEFACTOR, rect.size.height*VIEWSIZEFACTOR)]; //CHANGESIZE
[self.window addSubview:self.viewController.view];
return YES;
}