mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
(D3D12) fix the D3D12GetCompletedValue function wrapper.
- a function wrapper shouldn't contain any NULL checks, and it should return the original UINT64 value, not a boolean.
This commit is contained in:
parent
b6544a71d7
commit
1681322ffc
@ -159,7 +159,7 @@ static INLINE HRESULT D3D12ResetCommandAllocator(D3D12CommandAllocator command_a
|
||||
static INLINE ULONG D3D12ReleaseFence(D3D12Fence fence) { return fence->lpVtbl->Release(fence); }
|
||||
static INLINE UINT64 D3D12GetCompletedValue(D3D12Fence fence)
|
||||
{
|
||||
return fence && fence->lpVtbl->GetCompletedValue(fence);
|
||||
return fence->lpVtbl->GetCompletedValue(fence);
|
||||
}
|
||||
static INLINE HRESULT D3D12SetEventOnCompletion(D3D12Fence fence, UINT64 value, HANDLE h_event)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user