[vlc-commits] [Git][videolan/vlc][master] video_output/apple: Remove unused headers and support for visionOS
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Oct 12 17:54:51 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
253e81b3 by Benjamin King at 2023-10-12T17:29:49+00:00
video_output/apple: Remove unused headers and support for visionOS
- - - - -
1 changed file:
- modules/video_output/apple/VLCVideoUIView.m
Changes:
=====================================
modules/video_output/apple/VLCVideoUIView.m
=====================================
@@ -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
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/253e81b30cc33e5eb709d6dba241c4a4a3529e92
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/253e81b30cc33e5eb709d6dba241c4a4a3529e92
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list