set the platform to macos

This commit is contained in:
Jeffrey Crowell 2022-05-30 16:36:54 -04:00
commit 4177721f36

View file

@ -803,8 +803,12 @@ namespace SohImGui {
#ifdef _WIN32 #ifdef _WIN32
ImGui::Text("Platform: Windows"); ImGui::Text("Platform: Windows");
#else
#ifdef __APPLE__
ImGui::Text("Platform: MacOS");
#else #else
ImGui::Text("Platform: Linux"); ImGui::Text("Platform: Linux");
#endif
#endif #endif
ImGui::Text("Status: %.3f ms/frame (%.1f FPS)", 1000.0f / framerate, framerate); ImGui::Text("Status: %.3f ms/frame (%.1f FPS)", 1000.0f / framerate, framerate);
ImGui::End(); ImGui::End();