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
307a8c17
Commit
307a8c17
authored
Mar 07, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
projectM: make GL context current
parent
a368cd48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/visualization/projectm.cpp
modules/visualization/projectm.cpp
+4
-0
No files found.
modules/visualization/projectm.cpp
View file @
307a8c17
...
...
@@ -351,6 +351,8 @@ static void *Thread( void *p_data )
goto
error
;
}
vlc_gl_MakeCurrent
(
gl
);
/* Work-around the projectM locale bug */
loc
=
newlocale
(
LC_NUMERIC_MASK
,
"C"
,
NULL
);
oldloc
=
uselocale
(
loc
);
...
...
@@ -446,6 +448,7 @@ static void *Thread( void *p_data )
uselocale
(
oldloc
);
freelocale
(
loc
);
}
vlc_gl_ReleaseCurrent
(
gl
);
return
NULL
;
}
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
@@ -464,6 +467,7 @@ static void *Thread( void *p_data )
assert
(
0
);
error:
vlc_gl_ReleaseCurrent
(
gl
);
p_sys
->
b_error
=
true
;
vlc_sem_post
(
&
p_sys
->
ready
);
return
NULL
;
...
...
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