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
15bdcb40
Commit
15bdcb40
authored
Feb 16, 2017
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Send GL context destruction through the command stream.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
392213ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
device.c
dlls/wined3d/device.c
+7
-1
No files found.
dlls/wined3d/device.c
View file @
15bdcb40
...
...
@@ -945,9 +945,10 @@ static void device_init_swapchain_state(struct wined3d_device *device, struct wi
wined3d_device_set_render_state
(
device
,
WINED3D_RS_ZENABLE
,
ds_enable
);
}
static
void
wined3d_device_delete_opengl_contexts
(
struct
wined3d_device
*
device
)
static
void
wined3d_device_delete_opengl_contexts
_cs
(
void
*
object
)
{
struct
wined3d_resource
*
resource
,
*
cursor
;
struct
wined3d_device
*
device
=
object
;
struct
wined3d_context
*
context
;
struct
wined3d_shader
*
shader
;
...
...
@@ -978,6 +979,11 @@ static void wined3d_device_delete_opengl_contexts(struct wined3d_device *device)
}
}
static
void
wined3d_device_delete_opengl_contexts
(
struct
wined3d_device
*
device
)
{
wined3d_cs_destroy_object
(
device
->
cs
,
wined3d_device_delete_opengl_contexts_cs
,
device
);
}
static
HRESULT
create_primary_opengl_context
(
struct
wined3d_device
*
device
,
struct
wined3d_swapchain
*
swapchain
)
{
struct
wined3d_context
*
context
;
...
...
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