Mercurial > mplayer.hg
changeset 15854:df539b2f5f4f
crash on autorelease, do not add to pool
author | nplourde |
---|---|
date | Wed, 29 Jun 2005 21:49:58 +0000 |
parents | 6e994905f77b |
children | 1ca8b5873c3f |
files | libvo/vo_macosx.m |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_macosx.m Wed Jun 29 18:17:19 2005 +0000 +++ b/libvo/vo_macosx.m Wed Jun 29 21:49:58 2005 +0000 @@ -281,7 +281,6 @@ 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 @@ //create OpenGL Context glContext = [[NSOpenGLContext alloc] initWithFormat:[NSOpenGLView defaultPixelFormat] shareContext:nil]; - [glContext autorelease]; [self setOpenGLContext:glContext]; [glContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval];