修复macos窗口名称不正确

This commit is contained in:
Nana 2024-06-19 11:41:55 +08:00
parent 01b53255fe
commit 4d5c124058
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ int init_imgui() {
// Create window with graphics context // Create window with graphics context
glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API); glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
g_main_window = glfwCreateWindow(1280, 720, "Dear ImGui GLFW+Metal example", nullptr, nullptr); g_main_window = glfwCreateWindow(1280, 720, get_window_title().c_str(), nullptr, nullptr);
if (g_main_window == nullptr) if (g_main_window == nullptr)
return 1; return 1;

@ -1 +1 @@
Subproject commit a728b69294b82da6d89c290200668fd5f863e3f6 Subproject commit 3f3c70883f3a8a08eac23ec952d893197fb866a3