Silence warnings and fix bugs
This commit is contained in:
@@ -55,7 +55,7 @@ namespace OpenVulkano
|
||||
|
||||
[[nodiscard]] std::filesystem::path GetXDGFolderDefault(const char* envName, std::string_view defaultRelativePath)
|
||||
{
|
||||
#ifndef TARGET_OS_IOS != 1
|
||||
#if TARGET_OS_IOS != 1
|
||||
if (const char* envValue = std::getenv(envName))
|
||||
{
|
||||
if (envValue[0] == '/') return envValue;
|
||||
|
||||
Reference in New Issue
Block a user