mirror of
https://github.com/cimgui/cimgui.git
synced 2025-11-30 21:51:40 +00:00
generator.lua: ImTextureID_Invalid define for cl compiler
This commit is contained in:
@@ -186,7 +186,7 @@ local function get_defines(t)
|
||||
end
|
||||
pipe:close()
|
||||
--require"anima.utils"
|
||||
--prtable(defines)
|
||||
--cpp2ffi.prtable(defines)
|
||||
assert(next(defines), table.concat(compiler_output, "\n"))
|
||||
local ret = {}
|
||||
for i,v in ipairs(t) do
|
||||
|
||||
@@ -35,3 +35,7 @@
|
||||
#ifdef IMGUI_HAS_TEXTURES
|
||||
#pragma message(CIMGUI_DEFSTRING(IMGUI_HAS_TEXTURES))
|
||||
#endif
|
||||
|
||||
#ifdef ImTextureID_Invalid
|
||||
#pragma message(CIMGUI_DEFSTRING(ImTextureID_Invalid))
|
||||
#endif
|
||||
Reference in New Issue
Block a user