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

* revert previous commit for Intel-based Macs

parent 3788e6bc
......@@ -316,12 +316,21 @@ static void Swap( vout_thread_t * p_vout )
static int Lock( vout_thread_t * p_vout )
{
vlc_mutex_lock( &p_vout->p_sys->lock );
#if __INTEL__
CGLLockContext( (CGLContextObj)p_vout->p_sys->agl_ctx );
#endif
return 0;
}
static void Unlock( vout_thread_t * p_vout )
{
vlc_mutex_unlock( &p_vout->p_sys->lock );
#if __INTEL__
CGLUnlockContext( (CGLContextObj)p_vout->p_sys->agl_ctx );
#endif
}
/*****************************************************************************
......
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