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
ef48f9b6
Commit
ef48f9b6
authored
Feb 24, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't handle impossible error
glXChooseFBConfig always return NULL if there are no adequate configs.
parent
39863326
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/video_output/x11/glx.c
modules/video_output/x11/glx.c
+1
-2
No files found.
modules/video_output/x11/glx.c
View file @
ef48f9b6
...
...
@@ -243,10 +243,9 @@ int InitGLX13( vout_thread_t *p_vout )
/* Get the FB configuration */
p_fbconfs
=
glXChooseFBConfig
(
p_sys
->
p_display
,
0
,
p_attr
,
&
i_nbelem
);
if
(
!
p_fbconfs
||
(
i_nbelem
<=
0
)
)
if
(
p_fbconfs
==
NULL
)
{
msg_Err
(
p_vout
,
"Cannot get FB configurations"
);
if
(
p_fbconfs
)
XFree
(
p_fbconfs
);
return
VLC_EGENERIC
;
}
fbconf
=
p_fbconfs
[
0
];
...
...
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