Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f4d7b444
Commit
f4d7b444
authored
Feb 18, 2007
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Small fixes.
parent
c9d78fc5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
opengl.c
dlls/winex11.drv/opengl.c
+3
-2
No files found.
dlls/winex11.drv/opengl.c
View file @
f4d7b444
...
...
@@ -825,8 +825,9 @@ BOOL get_fbconfig_from_visualid(Display *display, Visual *visual, int *fmt_id, i
int
tmp_vis_id
;
VisualID
visualid
;
if
(
!
display
||
!
display
)
{
if
(
!
display
||
!
visual
)
{
ERR
(
"Invalid display or visual
\n
"
);
return
FALSE
;
}
visualid
=
XVisualIDFromVisual
(
visual
);
...
...
@@ -835,7 +836,7 @@ BOOL get_fbconfig_from_visualid(Display *display, Visual *visual, int *fmt_id, i
if
(
NULL
==
cfgs
||
0
==
nCfgs
)
{
ERR
(
"glXChooseFBConfig returns NULL
\n
"
);
if
(
cfgs
!=
NULL
)
XFree
(
cfgs
);
return
0
;
return
FALSE
;
}
/* Find the requested offscreen format and count the number of offscreen formats */
...
...
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