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
f3777237
Commit
f3777237
authored
Dec 29, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 04, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Do not remove invalid BO users from the list when destroying views.
Fixes:
b2f13103
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55540
parent
68325b38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
adapter_gl.c
dlls/wined3d/adapter_gl.c
+1
-1
adapter_vk.c
dlls/wined3d/adapter_vk.c
+1
-1
No files found.
dlls/wined3d/adapter_gl.c
View file @
f3777237
...
...
@@ -4887,7 +4887,7 @@ static void wined3d_view_gl_destroy_object(void *object)
checkGLcall
(
"delete resources"
);
context_release
(
context
);
}
if
(
ctx
->
bo_user
)
if
(
ctx
->
bo_user
&&
ctx
->
bo_user
->
valid
)
list_remove
(
&
ctx
->
bo_user
->
entry
);
heap_free
(
ctx
->
object
);
...
...
dlls/wined3d/adapter_vk.c
View file @
f3777237
...
...
@@ -1467,7 +1467,7 @@ static void wined3d_view_vk_destroy_object(void *object)
TRACE
(
"Destroyed image view 0x%s.
\n
"
,
wine_dbgstr_longlong
(
*
ctx
->
vk_image_view
));
}
}
if
(
ctx
->
bo_user
)
if
(
ctx
->
bo_user
&&
ctx
->
bo_user
->
valid
)
list_remove
(
&
ctx
->
bo_user
->
entry
);
if
(
ctx
->
vk_counter_bo
&&
ctx
->
vk_counter_bo
->
vk_buffer
)
wined3d_context_vk_destroy_bo
(
wined3d_context_vk
(
context
),
ctx
->
vk_counter_bo
);
...
...
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