Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
7341eb30
Commit
7341eb30
authored
Jul 18, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Do not release the wined3d mutex in d3d8_device_upload_sysmem_index_buffer().
Spotted by Henri Verbeet. This fixes a regression introduced by
fc0f0090
.
parent
764537c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
device.c
dlls/d3d8/device.c
+1
-1
No files found.
dlls/d3d8/device.c
View file @
7341eb30
...
@@ -2477,7 +2477,7 @@ static HRESULT d3d8_device_upload_sysmem_index_buffer(struct d3d8_device *device
...
@@ -2477,7 +2477,7 @@ static HRESULT d3d8_device_upload_sysmem_index_buffer(struct d3d8_device *device
wined3d_box_set
(
&
box
,
src_offset
,
0
,
buffer_size
,
1
,
0
,
1
);
wined3d_box_set
(
&
box
,
src_offset
,
0
,
buffer_size
,
1
,
0
,
1
);
if
(
FAILED
(
hr
=
wined3d_resource_map
(
index_buffer
,
0
,
&
map_desc
,
&
box
,
WINED3D_MAP_READ
)))
if
(
FAILED
(
hr
=
wined3d_resource_map
(
index_buffer
,
0
,
&
map_desc
,
&
box
,
WINED3D_MAP_READ
)))
{
{
wined3d_mutex_unlock
(
);
ERR
(
"Failed to map index buffer, hr %#x.
\n
"
,
hr
);
return
hr
;
return
hr
;
}
}
wined3d_streaming_buffer_upload
(
device
->
wined3d_device
,
&
device
->
index_buffer
,
wined3d_streaming_buffer_upload
(
device
->
wined3d_device
,
&
device
->
index_buffer
,
...
...
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