mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-24 22:37:19 +00:00
[host] d12: fix type of function argument
This commit is contained in:
parent
9de047d9cb
commit
3b43dcb80d
@ -60,7 +60,7 @@ struct D12Backend
|
||||
|
||||
ID3D12Resource * (*fetch)(D12Backend * instance,
|
||||
unsigned frameBufferIndex,
|
||||
const RECT * dirtyRects[static D12_MAX_DIRTY_RECTS],
|
||||
const RECT ** dirtyRects,
|
||||
unsigned * nbDirtyRects);
|
||||
};
|
||||
|
||||
@ -96,7 +96,7 @@ static inline CaptureResult d12_backendSync(D12Backend * instance,
|
||||
{ return instance->sync(instance, commandQueue); }
|
||||
|
||||
static inline ID3D12Resource * d12_backendFetch(D12Backend * instance,
|
||||
unsigned frameBufferIndex, const RECT * dirtyRects[static D12_MAX_DIRTY_RECTS],
|
||||
unsigned frameBufferIndex, const RECT ** dirtyRects,
|
||||
unsigned * nbDirtyRects)
|
||||
{ return instance->fetch(instance, frameBufferIndex, dirtyRects,
|
||||
nbDirtyRects); }
|
||||
|
Loading…
Reference in New Issue
Block a user