Enable cubic sampling when available

This commit is contained in:
Patrick Nicolas
2024-08-12 11:02:56 +02:00
parent 86ee7c26c1
commit 0cc54b8e71
3 changed files with 25 additions and 12 deletions
+6
View File
@@ -134,6 +134,7 @@ class application : public singleton<application>
bool session_visible = false;
bool debug_extensions_found = false;
std::vector<std::string> xr_extensions;
std::vector<const char *> vk_device_extensions;
std::atomic<bool> exit_requested = false;
std::filesystem::path config_path;
std::filesystem::path cache_path;
@@ -431,6 +432,11 @@ public:
return instance().xr_extensions;
}
static const std::vector<const char *> & get_vk_device_extensions()
{
return instance().vk_device_extensions;
}
static configuration & get_config()
{
assert(instance().config);