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
af54f9b9
Commit
af54f9b9
authored
Aug 10, 2016
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Synchronise WINED3D_CS_OP_UNLOAD_RESOURCE resource access.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
565cd2b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
cs.c
dlls/wined3d/cs.c
+3
-0
No files found.
dlls/wined3d/cs.c
View file @
af54f9b9
...
...
@@ -1256,6 +1256,7 @@ static void wined3d_cs_exec_unload_resource(struct wined3d_cs *cs, const void *d
struct
wined3d_resource
*
resource
=
op
->
resource
;
resource
->
resource_ops
->
resource_unload
(
resource
);
wined3d_resource_release
(
resource
);
}
void
wined3d_cs_emit_unload_resource
(
struct
wined3d_cs
*
cs
,
struct
wined3d_resource
*
resource
)
...
...
@@ -1266,6 +1267,8 @@ void wined3d_cs_emit_unload_resource(struct wined3d_cs *cs, struct wined3d_resou
op
->
opcode
=
WINED3D_CS_OP_UNLOAD_RESOURCE
;
op
->
resource
=
resource
;
wined3d_resource_acquire
(
resource
);
cs
->
ops
->
submit
(
cs
);
}
...
...
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