From 7d73ce2371f7d478b38c71a3f62e91f651e56d44 Mon Sep 17 00:00:00 2001 From: nplourde Date: Wed, 29 Jun 2005 21:49:58 +0000 Subject: crash on autorelease, do not add to pool git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15855 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_macosx.m | 2 -- 1 file changed, 2 deletions(-) (limited to 'libvo') diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m index 0d0b3b56e4..fb11e4fdfd 100644 --- a/libvo/vo_macosx.m +++ b/libvo/vo_macosx.m @@ -281,7 +281,6 @@ static uint32_t control(uint32_t request, void *data, ...) styleMask:NSTitledWindowMask|NSTexturedBackgroundWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask backing:NSBackingStoreBuffered defer:NO]; - [window autorelease]; [window setDelegate:mpGLView]; [window setContentView:mpGLView]; [window setInitialFirstResponder:mpGLView]; @@ -308,7 +307,6 @@ static uint32_t control(uint32_t request, void *data, ...) //create OpenGL Context glContext = [[NSOpenGLContext alloc] initWithFormat:[NSOpenGLView defaultPixelFormat] shareContext:nil]; - [glContext autorelease]; [self setOpenGLContext:glContext]; [glContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval]; -- cgit v1.2.3