feat: Remove CreateSurface method from VulkanDeviceService to streamline instance creation

This commit is contained in:
2026-01-04 13:57:41 +00:00
parent 3d3b484893
commit a5555cf1d8
@@ -109,14 +109,6 @@ void VulkanDeviceService::CreateInstance(const std::vector<const char*>& require
}
}
void VulkanDeviceService::CreateSurface(SDL_Window* window) {
logging::TraceGuard trace;
if (!SDL_Vulkan_CreateSurface(window, instance_, nullptr, &surface_)) {
throw std::runtime_error("Failed to create Vulkan surface");
}
}
void VulkanDeviceService::PickPhysicalDevice() {
logging::TraceGuard trace;