mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 02:10:51 +00:00
Reworked blit to use regions, added buffer blit and read buffer. (#3924)
This commit is contained in:
committed by
GitHub
parent
f564ae8bf9
commit
0432b5d3c5
@@ -288,6 +288,9 @@ function converter.types(params)
|
||||
|
||||
yield("pub const " .. typ.name .. " = extern struct {")
|
||||
yield(" idx: c_ushort,")
|
||||
if typ.tagged then
|
||||
yield(" type: c_ushort,")
|
||||
end
|
||||
yield("};")
|
||||
elseif hasSuffix(typ.name, "::Enum") then
|
||||
lastCombinedFlagBlock()
|
||||
|
||||
Reference in New Issue
Block a user