MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / createSurface

Method createSurface

src/Renderer/vkRenderer.cpp:224–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected