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
|
end
|
||||||
pipe:close()
|
pipe:close()
|
||||||
--require"anima.utils"
|
--require"anima.utils"
|
||||||
--prtable(defines)
|
--cpp2ffi.prtable(defines)
|
||||||
assert(next(defines), table.concat(compiler_output, "\n"))
|
assert(next(defines), table.concat(compiler_output, "\n"))
|
||||||
local ret = {}
|
local ret = {}
|
||||||
for i,v in ipairs(t) do
|
for i,v in ipairs(t) do
|
||||||
|
|||||||
@@ -34,4 +34,8 @@
|
|||||||
|
|
||||||
#ifdef IMGUI_HAS_TEXTURES
|
#ifdef IMGUI_HAS_TEXTURES
|
||||||
#pragma message(CIMGUI_DEFSTRING(IMGUI_HAS_TEXTURES))
|
#pragma message(CIMGUI_DEFSTRING(IMGUI_HAS_TEXTURES))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef ImTextureID_Invalid
|
||||||
|
#pragma message(CIMGUI_DEFSTRING(ImTextureID_Invalid))
|
||||||
#endif
|
#endif
|
||||||
Reference in New Issue
Block a user