mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Change to void the return type for ID3D12GraphicsCommandList::ClearState().
ClearState() does not return a value. Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
eb3d8c911c
commit
2ed344a5f0
@ -2052,7 +2052,7 @@ interface ID3D12GraphicsCommandList : ID3D12CommandList
|
|||||||
|
|
||||||
HRESULT Reset(ID3D12CommandAllocator *allocator, ID3D12PipelineState *initial_state);
|
HRESULT Reset(ID3D12CommandAllocator *allocator, ID3D12PipelineState *initial_state);
|
||||||
|
|
||||||
HRESULT ClearState(ID3D12PipelineState *pipeline_state);
|
void ClearState(ID3D12PipelineState *pipeline_state);
|
||||||
|
|
||||||
void DrawInstanced(UINT vertex_count_per_instance, UINT instance_count,
|
void DrawInstanced(UINT vertex_count_per_instance, UINT instance_count,
|
||||||
UINT start_vertex_location, UINT start_instance_location);
|
UINT start_vertex_location, UINT start_instance_location);
|
||||||
|
@ -2398,12 +2398,10 @@ static HRESULT STDMETHODCALLTYPE d3d12_command_list_Reset(ID3D12GraphicsCommandL
|
|||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT STDMETHODCALLTYPE d3d12_command_list_ClearState(ID3D12GraphicsCommandList2 *iface,
|
static void STDMETHODCALLTYPE d3d12_command_list_ClearState(ID3D12GraphicsCommandList2 *iface,
|
||||||
ID3D12PipelineState *pipeline_state)
|
ID3D12PipelineState *pipeline_state)
|
||||||
{
|
{
|
||||||
FIXME("iface %p, pipline_state %p stub!\n", iface, pipeline_state);
|
FIXME("iface %p, pipline_state %p stub!\n", iface, pipeline_state);
|
||||||
|
|
||||||
return E_NOTIMPL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool d3d12_command_list_has_depth_stencil_view(struct d3d12_command_list *list)
|
static bool d3d12_command_list_has_depth_stencil_view(struct d3d12_command_list *list)
|
||||||
|
Loading…
Reference in New Issue
Block a user