mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(MSVC 2017) Fix VS 2017 solution
This commit is contained in:
parent
fa07570f76
commit
6982dd838f
@ -310,7 +310,7 @@ bool d3d12_init_descriptors(d3d12_video_t* d3d12)
|
||||
},
|
||||
};
|
||||
|
||||
D3D12_ROOT_PARAMETER rootParameters[ROOT_ID_MAX] = {};
|
||||
D3D12_ROOT_PARAMETER rootParameters[ROOT_ID_MAX];
|
||||
|
||||
rootParameters[ROOT_ID_TEXTURE_T].ParameterType = D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE;
|
||||
rootParameters[ROOT_ID_TEXTURE_T].DescriptorTable.NumDescriptorRanges = countof(srv_table);
|
||||
|
@ -1408,7 +1408,7 @@ static INLINE void d3d12_resource_transition(
|
||||
D3D12_RESOURCE_STATES state_before,
|
||||
D3D12_RESOURCE_STATES state_after)
|
||||
{
|
||||
D3D12_RESOURCE_BARRIER barrier = {};
|
||||
D3D12_RESOURCE_BARRIER barrier;
|
||||
barrier.Type = D3D12_RESOURCE_BARRIER_TYPE_TRANSITION;
|
||||
barrier.Flags = D3D12_RESOURCE_BARRIER_FLAG_NONE;
|
||||
barrier.Transition.pResource = resource;
|
||||
|
Loading…
x
Reference in New Issue
Block a user