修复macos窗口名称不正确
This commit is contained in:
parent
01b53255fe
commit
4d5c124058
2
Arona/third_party/imgui/imgui_macos_main.mm
vendored
2
Arona/third_party/imgui/imgui_macos_main.mm
vendored
@ -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
|
Loading…
x
Reference in New Issue
Block a user