Commit b1f5336d authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Defer nsviews untill the NSWindow is created. Hopefully fixes the...

 * Defer nsviews untill the NSWindow is created. Hopefully fixes the VLC[25709] *** Assertion failure in -[NSViewHierarchyLock unlockTopMostReader], AppKit.subproj/NSViewHierarchyLock.m:428
parent 84e7b158
......@@ -93,7 +93,7 @@
[self initWithContentRect: screen_rect
styleMask: NSBorderlessWindowMask
backing: NSBackingStoreBuffered
defer: NO screen: o_screen];
defer: YES screen: o_screen];
if( b_main_screen )
{
......@@ -122,7 +122,7 @@
[self initWithContentRect: s_rect
styleMask: i_stylemask
backing: NSBackingStoreBuffered
defer: NO screen: o_screen];
defer: YES screen: o_screen];
[self setAlphaValue: var_GetFloat( p_vout, "macosx-opaqueness" )];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment