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
d79244f3
Commit
d79244f3
authored
May 30, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
glx: make context current before setting swap interval (fixes #8738)
parent
fca90e83
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/video_output/glx.c
modules/video_output/glx.c
+3
-0
No files found.
modules/video_output/glx.c
View file @
d79244f3
...
...
@@ -196,6 +196,8 @@ static int Open (vlc_object_t *obj)
#ifdef GLX_ARB_get_proc_address
bool
is_swap_interval_set
=
false
;
MakeCurrent
(
gl
);
# ifdef GLX_SGI_swap_control
if
(
!
is_swap_interval_set
&&
CheckGLXext
(
dpy
,
snum
,
"GLX_SGI_swap_control"
))
...
...
@@ -217,6 +219,7 @@ static int Open (vlc_object_t *obj)
is_swap_interval_set
=
true
;
}
# endif
ReleaseCurrent
(
gl
);
#endif
return
VLC_SUCCESS
;
...
...
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