mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2025-10-30 07:01:10 +00:00
Add unmangled symbol to retrieve conf
This commit is contained in:
parent
614a2a14fb
commit
4c4452c9e5
1 changed files with 5 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue