| 448 | } |
| 449 | |
| 450 | void VulkanBaseApp::createSurface() |
| 451 | { |
| 452 | if (glfwCreateWindowSurface(m_instance, m_window, nullptr, &m_surface) != VK_SUCCESS) { |
| 453 | throw std::runtime_error("failed to create window surface!"); |
| 454 | } |
| 455 | } |
| 456 | |
| 457 | static bool findGraphicsQueueIndicies(VkPhysicalDevice device, |
| 458 | VkSurfaceKHR surface, |
nothing calls this directly
no outgoing calls
no test coverage detected