Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
6d8e54de
Commit
6d8e54de
authored
Mar 09, 2007
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* backport opengl context locking bugfix from [19427]
parent
73e8c035
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
modules/gui/macosx/voutgl.m
modules/gui/macosx/voutgl.m
+2
-0
No files found.
modules/gui/macosx/voutgl.m
View file @
6d8e54de
...
...
@@ -316,11 +316,13 @@ 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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment