summaryrefslogtreecommitdiffstats
path: root/osdep/main-fn-cocoa.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:13:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:13:14 +0000
commit60e8a3d404f0640fa5a3f834eae54b4f1fb9127d (patch)
tree1da89a218d0ecf010c67a87cb2f625c4cb18e7d7 /osdep/main-fn-cocoa.c
parentAdding upstream version 0.37.0. (diff)
downloadmpv-upstream.tar.xz
mpv-upstream.zip
Adding upstream version 0.38.0.upstream/0.38.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'osdep/main-fn-cocoa.c')
-rw-r--r--osdep/main-fn-cocoa.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/osdep/main-fn-cocoa.c b/osdep/main-fn-cocoa.c
deleted file mode 100644
index eeed127..0000000
--- a/osdep/main-fn-cocoa.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include "osdep/macosx_application.h"
-
-// This is needed because Cocoa absolutely requires creating the NSApplication
-// singleton and running it in the "main" thread. It is apparently not
-// possible to do this on a separate thread at all. It is not known how
-// Apple managed this colossal fuckup.
-int main(int argc, char *argv[])
-{
- return cocoa_main(argc, argv);
-}