Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b0a24c3c
Commit
b0a24c3c
authored
Jul 20, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Assert that the BO is mapped in unmap functions.
parent
1733f86d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
adapter_vk.c
dlls/wined3d/adapter_vk.c
+2
-0
context_gl.c
dlls/wined3d/context_gl.c
+2
-0
No files found.
dlls/wined3d/adapter_vk.c
View file @
b0a24c3c
...
...
@@ -1064,6 +1064,8 @@ static void adapter_vk_unmap_bo_address(struct wined3d_context *context,
return
;
bo
=
wined3d_bo_vk
(
data
->
buffer_object
);
assert
(
bo
->
b
.
map_ptr
);
if
(
!
bo
->
b
.
coherent
)
{
for
(
i
=
0
;
i
<
range_count
;
++
i
)
...
...
dlls/wined3d/context_gl.c
View file @
b0a24c3c
...
...
@@ -3039,6 +3039,8 @@ void wined3d_context_gl_unmap_bo_address(struct wined3d_context_gl *context_gl,
return
;
bo
=
wined3d_bo_gl
(
data
->
buffer_object
);
assert
(
bo
->
b
.
map_ptr
);
flush_bo_ranges
(
context_gl
,
wined3d_const_bo_address
(
data
),
range_count
,
ranges
);
wined3d_bo_gl_unmap
(
bo
,
context_gl
);
}
...
...
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