Commit de541282 authored by Felix Paul Kühne's avatar Felix Paul Kühne

vlcshell: don't enforce windowless on Mac

parent d9a4f8db
......@@ -245,13 +245,9 @@ NPError NPP_New( NPMIMEType, NPP instance,
return NPERR_INVALID_INSTANCE_ERROR;
}
#if defined(XP_MACOSX)
bool windowless = true;
#warning BAD, please FIX
#else
bool windowless = false;
/* we need to tell whether the plugin will be windowless
* before it is instantiated */
bool windowless = false;
for( int i = 0; i < argc; i++ )
{
if( !strcmp( argn[i], "windowless" ) )
......@@ -260,7 +256,6 @@ NPError NPP_New( NPMIMEType, NPP instance,
break;
}
}
#endif
if( windowless )
{
......
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