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
0112e524
Commit
0112e524
authored
Aug 22, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* initialize variables and don't use arguments that failed being created.
(fixes glx when X11 isn't runnning)
parent
065820ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/video_output/x11/glx.c
modules/video_output/x11/glx.c
+4
-4
No files found.
modules/video_output/x11/glx.c
View file @
0112e524
...
...
@@ -176,13 +176,13 @@ static void DestroyOpenGL( vlc_object_t *p_this )
*****************************************************************************/
static
int
CheckGLX
(
vlc_object_t
*
p_this
,
vlc_bool_t
*
b_glx13
)
{
Display
*
p_display
;
int
i_opcode
,
i_evt
,
i_err
;
int
i_maj
,
i_min
;
Display
*
p_display
=
NULL
;
int
i_opcode
,
i_evt
,
i_err
=
0
;
int
i_maj
,
i_min
=
0
;
/* Open the display */
p_display
=
XOpenDisplay
(
NULL
);
if
(
!
p_display
)
if
(
p_display
==
NULL
)
{
msg_Err
(
p_this
,
"Cannot open display"
);
return
VLC_EGENERIC
;
...
...
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