Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imgui_te_utils: support emscripten / fix ImFileCreateDirectoryChain #35

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
build_info.Cpu = WebAsm for emscripten
  • Loading branch information
pthom committed Oct 6, 2023
commit 1bb52862e45060ad5223756e985a4e6e70744c7a
2 changes: 2 additions & 0 deletions imgui_test_engine/imgui_te_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,8 @@ const ImBuildInfo* ImBuildGetCompilationInfo()
build_info.Cpu = (sizeof(size_t) == 4) ? "X86" : "X64";
#elif defined(__aarch64__)
build_info.Cpu = "ARM64";
#elif defined(__EMSCRIPTEN__)
build_info.Cpu = "WebAsm";
#else
#error
build_info.Cpu = (sizeof(size_t) == 4) ? "Unknown32" : "Unknown64";
Expand Down