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
ec1ef77b
Commit
ec1ef77b
authored
Sep 28, 2006
by
Juan Lang
Committed by
Alexandre Julliard
Sep 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Don't deadlock if GL init fails.
parent
32378f7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
opengl.c
dlls/winex11.drv/opengl.c
+2
-1
No files found.
dlls/winex11.drv/opengl.c
View file @
ec1ef77b
...
...
@@ -278,6 +278,7 @@ BOOL X11DRV_WineGL_InitOpenglInfo()
pglXMakeCurrent
(
gdi_display
,
win
,
ctx
);
}
else
{
ERR
(
" couldn't initialize OpenGL, expect problems
\n
"
);
wine_tsx11_unlock
();
return
FALSE
;
}
...
...
@@ -302,12 +303,12 @@ BOOL X11DRV_WineGL_InitOpenglInfo()
TRACE
(
"Client GLX version : %s.
\n
"
,
WineGLInfo
.
glxClientVersion
);
TRACE
(
"Direct rendering enabled: %s
\n
"
,
WineGLInfo
.
glxDirect
?
"True"
:
"False"
);
wine_tsx11_unlock
();
if
(
vis
)
XFree
(
vis
);
if
(
ctx
)
{
pglXMakeCurrent
(
gdi_display
,
None
,
NULL
);
pglXDestroyContext
(
gdi_display
,
ctx
);
}
wine_tsx11_unlock
();
return
TRUE
;
}
...
...
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