Const correctness in bqCancelBuffer

This commit is contained in:
fincs 2018-11-11 18:41:34 +01:00 committed by fincs
parent ec6d878d12
commit 2af9531f5b
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ Result bqRequestBuffer(Binder *b, s32 bufferIdx, BqGraphicBuffer *buf);
Result bqDequeueBuffer(Binder *b, bool async, u32 width, u32 height, s32 format, u32 usage, s32 *buf, NvMultiFence *fence);
Result bqDetachBuffer(Binder *b, s32 slot);
Result bqQueueBuffer(Binder *b, s32 buf, const BqBufferInput *input, BqBufferOutput *output);
Result bqCancelBuffer(Binder *b, s32 buf, NvMultiFence *fence);
Result bqCancelBuffer(Binder *b, s32 buf, const NvMultiFence *fence);
Result bqQuery(Binder *b, s32 what, s32* value);
Result bqConnect(Binder *b, s32 api, bool producerControlledByApp, BqBufferOutput *output);
Result bqDisconnect(Binder *b, s32 api);

View File

@ -147,7 +147,7 @@ Result bqQueueBuffer(Binder *b, s32 buf, const BqBufferInput *input, BqBufferOut
return rc;
}
Result bqCancelBuffer(Binder *b, s32 buf, NvMultiFence *fence)
Result bqCancelBuffer(Binder *b, s32 buf, const NvMultiFence *fence)
{
Result rc;
Parcel parcel, parcel_reply;