From c7d61b2fc0a588d6812fe2b3fd5750c54e530df4 Mon Sep 17 00:00:00 2001 From: Blisto91 <47954800+Blisto91@users.noreply.github.com> Date: Thu, 16 May 2024 12:20:36 +0200 Subject: [PATCH] [native] Change DXVK_WSIDRIVER to DXVK_WSI_DRIVER --- src/wsi/wsi_platform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wsi/wsi_platform.cpp b/src/wsi/wsi_platform.cpp index a72e1de44..3245eb13e 100644 --- a/src/wsi/wsi_platform.cpp +++ b/src/wsi/wsi_platform.cpp @@ -24,14 +24,14 @@ namespace dxvk::wsi { if (s_refcount++ > 0) return; - std::string hint = dxvk::env::getEnvVar("DXVK_WSIDRIVER"); + std::string hint = dxvk::env::getEnvVar("DXVK_WSI_DRIVER"); if (hint == "") { // At least for Windows, it is reasonable to fall back to a default; // for other platforms however we _need_ to know which WSI to use! #if defined(DXVK_WSI_WIN32) hint = "Win32"; #else - throw DxvkError("DXVK_WSIDRIVER environment variable unset"); + throw DxvkError("DXVK_WSI_DRIVER environment variable unset"); #endif }