build: Make ImHex fully compile with MSVC and Clang CL

This does NOT make ImHex work yet. However it can now be compiled
This commit is contained in:
WerWolv
2025-02-01 15:13:13 +01:00
parent 466b372d41
commit 8039ae1b90
18 changed files with 95 additions and 33 deletions

View File

@@ -22,7 +22,7 @@ namespace hex::plugin::builtin {
ImNodesContext *ctx = ImNodes::CreateContext();
ctx->Style = ImNodes::GetStyle();
ctx->Io = ImNodes::GetIO();
ctx->AttributeFlagStack = GImNodes->AttributeFlagStack;
ctx->AttributeFlagStack = ImNodes::GetCurrentContext()->AttributeFlagStack;
return ctx;
}(), [](ImNodesContext *ptr) {