Commit 3788e6bc authored by Felix Paul Kühne's avatar Felix Paul Kühne

* revert OpenGL context locking, as this is 10.4-only

parent d543bcfb
......@@ -316,13 +316,11 @@ static void Swap( vout_thread_t * p_vout )
static int Lock( vout_thread_t * p_vout )
{
vlc_mutex_lock( &p_vout->p_sys->lock );
CGLLockContext( (CGLContextObj)p_vout->p_sys->agl_ctx );
return 0;
}
static void Unlock( vout_thread_t * p_vout )
{
CGLUnlockContext( (CGLContextObj)p_vout->p_sys->agl_ctx );
vlc_mutex_unlock( &p_vout->p_sys->lock );
}
......
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