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 46bbb06 commit e28eeba
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 @@ -1367,10 +1367,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 @@ -1391,8 +1391,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 @@ -1406,6 +1409,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 e28eeba

Please sign in to comment.