From 366f8f5c92975ff6ac7e1643124d747ae54130be Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 29 Aug 2024 12:13:30 +0300 Subject: CopyBufferData uses size instead of length. --- ReiLua_API.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ReiLua_API.lua') diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 4b21104..5006d3a 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -2660,14 +2660,14 @@ function RL.LoadBufferFromString( buffer ) end ---@return any RL.UnloadBuffer function RL.UnloadBuffer( buffer ) end ----Copy buffer data to another buffer. src element size is used for length +---Copy buffer data to another buffer. Size is in bytes ---@param dst any ---@param src any ---@param posDst integer ---@param posSrc integer ----@param length integer +---@param size integer ---@return any RL.CopyBufferData -function RL.CopyBufferData( dst, src, posDst, posSrc, length ) end +function RL.CopyBufferData( dst, src, posDst, posSrc, size ) end ---Set buffer data value ---@param buffer any -- cgit v1.2.3