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
d62e5874
Commit
d62e5874
authored
Apr 19, 2013
by
Matteo Bruni
Committed by
Alexandre Julliard
Apr 22, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Print the error in wglCreateContextAttribsARB() when context creation fails.
parent
197cdcc9
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 @
d62e5874
...
...
@@ -1925,6 +1925,7 @@ static struct wgl_context *X11DRV_wglCreateContextAttribsARB( HDC hdc, struct wg
{
struct
wgl_context
*
ret
=
NULL
;
struct
gl_drawable
*
gl
;
int
err
=
0
;
TRACE
(
"(%p %p %p)
\n
"
,
hdc
,
hShareContext
,
attribList
);
...
...
@@ -1983,10 +1984,10 @@ static struct wgl_context *X11DRV_wglCreateContextAttribsARB( HDC hdc, struct wg
X11DRV_expect_error
(
gdi_display
,
GLXErrorHandler
,
NULL
);
ret
->
ctx
=
create_glxcontext
(
gdi_display
,
ret
,
NULL
);
XSync
(
gdi_display
,
False
);
if
(
X11DRV_check_error
(
)
||
!
ret
->
ctx
)
if
(
(
err
=
X11DRV_check_error
()
)
||
!
ret
->
ctx
)
{
/* In the future we should convert the GLX error to a win32 one here if needed */
ERR
(
"Context creation failed
\n
"
);
ERR
(
"Context creation failed
(error %x)
\n
"
,
err
);
HeapFree
(
GetProcessHeap
(),
0
,
ret
);
ret
=
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