Skip to content

Commit

Permalink
Update hardware detection in about window
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Jun 8, 2024
1 parent 5f09795 commit 85e46a3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions platforms/desktop-shared/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1532,10 +1532,10 @@ static void popup_modal_about(void)
#if defined(_M_ARM64)
ImGui::Text("Windows ARM64 build");
#endif
#if defined(_WIN64)
#if defined(_M_X64)
ImGui::Text("Windows 64 bit build");
#endif
#if defined(_WIN32)
#if defined(_M_IX86)
ImGui::Text("Windows 32 bit build");
#endif
#if defined(__linux__) && defined(__x86_64__)
Expand All @@ -1556,8 +1556,11 @@ static void popup_modal_about(void)
#if defined(__APPLE__) && defined(__x86_64__)
ImGui::Text("macOS build (Intel)");
#endif
#if defined(_MSC_VER)
ImGui::Text("Microsoft C++ %d.", _MSC_VER);
#if defined(_MSC_FULL_VER)
ImGui::Text("Microsoft C++ %d", _MSC_FULL_VER);
#endif
#if defined(__CLR_VER)
ImGui::Text("CLR version: %d", __CLR_VER);
#endif
#if defined(__MINGW32__)
ImGui::Text("MinGW 32 bit (%d.%d)", __MINGW32_MAJOR_VERSION, __MINGW32_MINOR_VERSION);
Expand All @@ -1571,6 +1574,9 @@ static void popup_modal_about(void)
#if defined(__clang_version__)
ImGui::Text("Clang %s", __clang_version__);
#endif
#if defined(__TIMESTAMP__)
ImGui::Text("Generated on: %s", __TIMESTAMP__);
#endif

ImGui::Separator();

Expand Down

0 comments on commit 85e46a3

Please sign in to comment.