Skip to content

Commit

Permalink
[host] d12: fix type of function argument
Browse files Browse the repository at this point in the history
  • Loading branch information
gnif committed Feb 23, 2024
1 parent 9de047d commit 3b43dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions host/platform/Windows/capture/D12/backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

Expand Down Expand Up @@ -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); }
Expand Down

0 comments on commit 3b43dcb

Please sign in to comment.