Backends: Vulkan: moved helpers to backend: ImGui_ImplVulkanH_SelectPhysicalDevice(), ImGui_ImplVulkanH_SelectQueueFamilyIndex(). (#8180)

This commit is contained in:
ocornut
2025-01-06 17:29:04 +01:00
parent dbf76f62f9
commit a2e21727c0
7 changed files with 72 additions and 138 deletions

View File

@@ -87,7 +87,7 @@ int main(int, char**)
printf("Error: SDL_GL_CreateContext(): %s\n", SDL_GetError());
return -1;
}
SDL_GL_MakeCurrent(window, gl_context);
SDL_GL_SetSwapInterval(1); // Enable vsync