Closed sonoro1234 closed 5 years ago
Depending on the compiler used, there is a crash when the functions return a user defined type like ImVec2 and others.
To avoid that you should use use_nonUDT2 after require as in:
local ig = require"imgui.glfw" ig.use_nonUDT2() --this is needed if compiled with MSVC
I have been able to test mingw-w64 which doesnt need this and MSVC that needs it.
I would like to have a report for other compilers and systems
Changed by PR #7
Depending on the compiler used, there is a crash when the functions return a user defined type like ImVec2 and others.
To avoid that you should use use_nonUDT2 after require as in:
I have been able to test mingw-w64 which doesnt need this and MSVC that needs it.
I would like to have a report for other compilers and systems