mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-11-07 08:35:45 +00:00
Allow negative x/y in bgfx::setViewRect. (#3848)
This commit is contained in:
@@ -65,6 +65,8 @@ local function convert_type_0(arg)
|
||||
return arg.ctype:gsub("int32_t", "i32")
|
||||
elseif hasPrefix(arg.ctype, "uint16_t") then
|
||||
return arg.ctype:gsub("uint16_t", "u16")
|
||||
elseif hasPrefix(arg.ctype, "int16_t") then
|
||||
return arg.ctype:gsub("int16_t", "i16")
|
||||
elseif hasPrefix(arg.ctype, "uint8_t") then
|
||||
return arg.ctype:gsub("uint8_t", "u8")
|
||||
elseif hasPrefix(arg.ctype, "uintptr_t") then
|
||||
|
||||
Reference in New Issue
Block a user