Remove obsolete code path

This commit is contained in:
Henrik Rydgård 2024-05-22 00:24:36 +02:00
parent 1a01e4fd2e
commit 4f2379a2d3

View file

@ -325,12 +325,6 @@ extern float g_safeInsetBottom;
[self shutdown];
}
// For iOS before 6.0
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
{
return UIInterfaceOrientationIsLandscape(toInterfaceOrientation);
}
// For iOS 6.0 and up
- (NSUInteger)supportedInterfaceOrientations
{
@ -346,7 +340,6 @@ extern float g_safeInsetBottom;
- (void)touchX:(float)x y:(float)y code:(int)code pointerId:(int)pointerId
{
float scale = [UIScreen mainScreen].scale;
if ([[UIScreen mainScreen] respondsToSelector:@selector(nativeScale)]) {
scale = [UIScreen mainScreen].nativeScale;
}