summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-16 16:14:05 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-16 16:14:05 +0000
commit643db0cf94fa1c378dba4add48bcb2ae154ddd22 (patch)
tree4c5c03e0aa2bd2353d3a25290965d75819554259 /libvo
parente02a9c039cbb987c643a139964fa4c0c0dda180d (diff)
downloadmpv-643db0cf94fa1c378dba4add48bcb2ae154ddd22.tar.bz2
mpv-643db0cf94fa1c378dba4add48bcb2ae154ddd22.tar.xz
proper init of NSApp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15737 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_macosx.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m
index d053dfc6c5..cd6a56b6b1 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -240,8 +240,8 @@ static uint32_t preinit(const char *arg)
}
}
- NSApplicationLoad();
autoreleasepool = [[NSAutoreleasePool alloc] init];
+ [NSApplication sharedApplication];
mpGLView = [[MPlayerOpenGLView alloc] initWithFrame:NSMakeRect(0, 0, 0, 0) pixelFormat:[MPlayerOpenGLView defaultPixelFormat]];
[mpGLView autorelease];