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
bc3edfd1
Commit
bc3edfd1
authored
Apr 19, 2023
by
Giovanni Mascellani
Committed by
Alexandre Julliard
Jun 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Remove now-useless function d3d12_swapchain_create_buffers().
parent
0521f570
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
14 deletions
+7
-14
swapchain.c
dlls/dxgi/swapchain.c
+7
-14
No files found.
dlls/dxgi/swapchain.c
View file @
bc3edfd1
...
@@ -1555,19 +1555,6 @@ static HRESULT d3d12_swapchain_create_image_resources(struct d3d12_swapchain *sw
...
@@ -1555,19 +1555,6 @@ static HRESULT d3d12_swapchain_create_image_resources(struct d3d12_swapchain *sw
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
d3d12_swapchain_create_buffers
(
struct
d3d12_swapchain
*
swapchain
)
{
HRESULT
hr
;
if
(
FAILED
(
hr
=
d3d12_swapchain_create_user_buffers
(
swapchain
)))
return
hr
;
if
(
FAILED
(
hr
=
d3d12_swapchain_create_command_buffers
(
swapchain
)))
return
hr
;
return
d3d12_swapchain_create_image_resources
(
swapchain
);
}
static
VkResult
d3d12_swapchain_acquire_next_vulkan_image
(
struct
d3d12_swapchain
*
swapchain
)
static
VkResult
d3d12_swapchain_acquire_next_vulkan_image
(
struct
d3d12_swapchain
*
swapchain
)
{
{
const
struct
dxgi_vk_funcs
*
vk_funcs
=
&
swapchain
->
vk_funcs
;
const
struct
dxgi_vk_funcs
*
vk_funcs
=
&
swapchain
->
vk_funcs
;
...
@@ -1782,10 +1769,16 @@ static HRESULT d3d12_swapchain_create_resources(struct d3d12_swapchain *swapchai
...
@@ -1782,10 +1769,16 @@ static HRESULT d3d12_swapchain_create_resources(struct d3d12_swapchain *swapchai
return
DXGI_ERROR_INVALID_CALL
;
return
DXGI_ERROR_INVALID_CALL
;
}
}
if
(
FAILED
(
hr
=
d3d12_swapchain_create_user_buffers
(
swapchain
)))
return
hr
;
if
(
FAILED
(
hr
=
d3d12_swapchain_create_image_resources
(
swapchain
)))
return
hr
;
if
(
FAILED
(
hr
=
d3d12_swapchain_create_vulkan_swapchain
(
swapchain
)))
if
(
FAILED
(
hr
=
d3d12_swapchain_create_vulkan_swapchain
(
swapchain
)))
return
hr
;
return
hr
;
return
d3d12_swapchain_create_buffers
(
swapchain
);
return
d3d12_swapchain_create_
command_
buffers
(
swapchain
);
}
}
static
inline
struct
d3d12_swapchain
*
d3d12_swapchain_from_IDXGISwapChain4
(
IDXGISwapChain4
*
iface
)
static
inline
struct
d3d12_swapchain
*
d3d12_swapchain_from_IDXGISwapChain4
(
IDXGISwapChain4
*
iface
)
...
...
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