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