This commit is contained in:
2022-07-21 16:18:54 +02:00
parent df939555b9
commit 27be3fb0d4
3 changed files with 4 additions and 9 deletions

View File

@@ -360,6 +360,7 @@ int startImgui(ImGuiCallbacks& callbacks, const char* title, int windowWidth, in
return 1;
glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
glfwWindowHint(GLFW_VISIBLE, GLFW_FALSE);
GLFWwindow* window = glfwCreateWindow(windowWidth, windowHeight, title, NULL, NULL);
// Setup Vulkan
@@ -438,6 +439,7 @@ int startImgui(ImGuiCallbacks& callbacks, const char* title, int windowWidth, in
{
callbacks.initFunc(drawData);
}
glfwShowWindow(window);
// Upload Fonts
{