From d34310a7df808bc663f383f1f2a76323a52c5b74 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Thu, 22 Feb 2024 10:34:48 -0800 Subject: [PATCH] fix Refresh_CreateCpuBuffer in Refresh.c --- src/Refresh.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Refresh.c b/src/Refresh.c index e50f75b..c6b8de1 100644 --- a/src/Refresh.c +++ b/src/Refresh.c @@ -310,14 +310,12 @@ Refresh_GpuBuffer* Refresh_CreateGpuBuffer( Refresh_CpuBuffer* Refresh_CreateCpuBuffer( Refresh_Device *device, - uint32_t sizeInBytes, - void **pDataPtr + uint32_t sizeInBytes ) { NULL_RETURN_NULL(device); return device->CreateCpuBuffer( device->driverData, - sizeInBytes, - pDataPtr + sizeInBytes ); }