Add unmangled symbol to retrieve conf

This commit is contained in:
flightlessmango 2025-07-26 06:01:32 +02:00
parent 614a2a14fb
commit 4c4452c9e5

View file

@ -29,6 +29,11 @@ namespace {
Configuration Config::activeConf{};
extern "C" __attribute__((visibility("default")))
void lsfg_get_active_conf(Configuration *cfg) {
*cfg = Config::activeConf;
}
namespace {
/// Turn a string into a VkPresentModeKHR enum value.
VkPresentModeKHR into_present(const std::string& mode) {