views:

31

answers:

1

Im trying to interface with a project which defines its supported orientation by:

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
 //making sure that the tour is displayed in landscape
 return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}

I built my program under the default which i assume to be UIInterfaceOrientationPortrait. The problem now is that it appears that the OpenGL origin is moving corners. So my program depends on the gl origin to be top left when in portrait mode which is standard across all applications but now i think the origin has moved to become the top right corner.

Is that true?