Silence warnings and fix bugs

This commit is contained in:
Georg Hagen
2025-02-12 13:21:30 +01:00
parent c2b8dcb408
commit 4da64d2d42
7 changed files with 28 additions and 15 deletions

View File

@@ -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;