1 #include <msp/strings/format.h>
2 #include "vulkancontext.h"
8 vulkan_error::vulkan_error(unsigned code, const char *function):
9 runtime_error(format("%s failed: %s", function, get_error_message(code)))
13 VulkanContext::VulkanContext(Window &w, const VulkanOptions &opts):
14 display(w.get_display()),
21 void VulkanContext::platform_init(const VulkanOptions &)
23 throw runtime_error("no Vulkan support");
26 VulkanContext::~VulkanContext()
29 void (*VulkanContext::_get_function(const std::string &) const)()
35 } // namespace Graphics