Mercurial > mplayer.hg
changeset 15736:a51c5bc51272
proper init of NSApp
author | nplourde |
---|---|
date | Thu, 16 Jun 2005 16:14:05 +0000 |
parents | e8b0a1742428 |
children | 0c3939433cef |
files | libvo/vo_macosx.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_macosx.m Thu Jun 16 10:45:18 2005 +0000 +++ b/libvo/vo_macosx.m Thu Jun 16 16:14:05 2005 +0000 @@ -240,8 +240,8 @@ } } - NSApplicationLoad(); autoreleasepool = [[NSAutoreleasePool alloc] init]; + [NSApplication sharedApplication]; mpGLView = [[MPlayerOpenGLView alloc] initWithFrame:NSMakeRect(0, 0, 0, 0) pixelFormat:[MPlayerOpenGLView defaultPixelFormat]]; [mpGLView autorelease];