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
e915cfd4
Commit
e915cfd4
authored
Sep 28, 2013
by
Sebastian Lackner
Committed by
Alexandre Julliard
Sep 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Call destroy_gl_drawable before destroying the window.
parent
c7afb0bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
window.c
dlls/winex11.drv/window.c
+2
-1
No files found.
dlls/winex11.drv/window.c
View file @
e915cfd4
...
...
@@ -1598,6 +1598,8 @@ void CDECL X11DRV_DestroyWindow( HWND hwnd )
struct
x11drv_thread_data
*
thread_data
=
x11drv_thread_data
();
struct
x11drv_win_data
*
data
;
destroy_gl_drawable
(
hwnd
);
if
(
!
(
data
=
get_win_data
(
hwnd
)))
return
;
destroy_whole_window
(
data
,
FALSE
);
...
...
@@ -1609,7 +1611,6 @@ void CDECL X11DRV_DestroyWindow( HWND hwnd )
XDeleteContext
(
gdi_display
,
(
XID
)
hwnd
,
win_data_context
);
release_win_data
(
data
);
HeapFree
(
GetProcessHeap
(),
0
,
data
);
destroy_gl_drawable
(
hwnd
);
}
...
...
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