# HG changeset patch # User nplourde # Date 1118938445 0 # Node ID a51c5bc5127211510dc74fa0411b5b522ea56de5 # Parent e8b0a174242884c52b6213b38a36d6bfd347b81a proper init of NSApp diff -r e8b0a1742428 -r a51c5bc51272 libvo/vo_macosx.m --- 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];