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
dcee5182
Commit
dcee5182
authored
Dec 04, 2023
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Avoid redundantly setting the present info wait semaphore fields in…
dxgi: Avoid redundantly setting the present info wait semaphore fields in d3d12_swapchain_queue_present().
parent
3eebc3ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
swapchain.c
dlls/dxgi/swapchain.c
+2
-4
No files found.
dlls/dxgi/swapchain.c
View file @
dcee5182
...
...
@@ -2134,14 +2134,12 @@ static VkResult d3d12_swapchain_queue_present(struct d3d12_swapchain *swapchain,
present_info
.
sType
=
VK_STRUCTURE_TYPE_PRESENT_INFO_KHR
;
present_info
.
pNext
=
NULL
;
present_info
.
waitSemaphoreCount
=
0
;
present_info
.
pWaitSemaphores
=
NULL
;
present_info
.
waitSemaphoreCount
=
1
;
present_info
.
pWaitSemaphores
=
&
swapchain
->
vk_semaphores
[
swapchain
->
vk_image_index
]
;
present_info
.
swapchainCount
=
1
;
present_info
.
pSwapchains
=
&
swapchain
->
vk_swapchain
;
present_info
.
pImageIndices
=
&
swapchain
->
vk_image_index
;
present_info
.
pResults
=
NULL
;
present_info
.
waitSemaphoreCount
=
1
;
present_info
.
pWaitSemaphores
=
&
swapchain
->
vk_semaphores
[
swapchain
->
vk_image_index
];
if
((
vr
=
vk_funcs
->
p_vkQueuePresentKHR
(
vk_queue
,
&
present_info
))
>=
0
)
swapchain
->
vk_image_index
=
INVALID_VK_IMAGE_INDEX
;
...
...
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