| 222 | } |
| 223 | |
| 224 | void vkRenderer::createSurface() { |
| 225 | if (glfwCreateWindowSurface(instance, window, nullptr, &surface) != VK_SUCCESS) { |
| 226 | throw std::runtime_error("failed to create window surface!"); |
| 227 | } |
| 228 | } |
| 229 | |
| 230 | void vkRenderer::pickPhysicalDevice() { |
| 231 | uint32_t deviceCount = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected