Skip to content
Snippets Groups Projects
Commit 253e81b3 authored by Ben King's avatar Ben King Committed by Steve Lhomme
Browse files

video_output/apple: Remove unused headers and support for visionOS

parent 0e543f38
No related branches found
No related tags found
1 merge request!4363video_output/apple: Remove unused headers and support for visionOS
Pipeline #394760 passed with stages
in 31 minutes and 20 seconds
......@@ -51,10 +51,8 @@
* usual UIApplicationMain.
*/
#import <TargetConditionals.h>
#import <UIKit/UIKit.h>
#import <OpenGLES/EAGL.h>
#import <OpenGLES/ES2/gl.h>
#import <OpenGLES/ES2/glext.h>
#import <QuartzCore/QuartzCore.h>
#import <dlfcn.h>
......@@ -326,7 +324,9 @@
- (void)didMoveToWindow
{
self.contentScaleFactor = self.window.screen.scale;
#if !defined(TARGET_OS_VISION) || !TARGET_OS_VISION
self.contentScaleFactor = self.window.screen.scale;
#endif
}
- (void)layoutSubviews
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment