generator.lua: ImTextureID_Invalid define for cl compiler

This commit is contained in:
sonoro1234
2025-11-13 19:14:43 +01:00
parent 9e036bb003
commit c44d649bf5
2 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

@@ -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