mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2025-10-30 07:01:10 +00:00
Merge 4c4452c9e5 into 0048283a8a
This commit is contained in:
commit
c4c8024f6f
1 changed files with 5 additions and 0 deletions
|
|
@ -26,6 +26,11 @@ using namespace Config;
|
|||
GlobalConfiguration Config::globalConf{};
|
||||
std::optional<GameConfiguration> Config::currentConf{};
|
||||
|
||||
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