mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-06 00:55:28 +00:00
Allow negative x/y in bgfx::setViewRect. (#3848)
This commit is contained in:
committed by
GitHub
parent
7551ac61c5
commit
ce18bdb6c6
@@ -76,6 +76,8 @@ local function convert_type_0(arg)
|
||||
return arg.ctype:gsub("int32_t", "int")
|
||||
elseif hasPrefix(arg.ctype, "uint16_t") then
|
||||
return arg.ctype:gsub("uint16_t", "ushort")
|
||||
elseif hasPrefix(arg.ctype, "int16_t") then
|
||||
return arg.ctype:gsub("int16_t", "short")
|
||||
elseif hasPrefix(arg.ctype, "bgfx_view_id_t") then
|
||||
return arg.ctype:gsub("bgfx_view_id_t", "ushort")
|
||||
elseif hasPrefix(arg.ctype, "uint8_t") then
|
||||
|
||||
Reference in New Issue
Block a user