Skip to content
Snippets Groups Projects
Commit 665ce1c5 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard
Browse files

kernel32: Treat Vulkan environment variables as special variables.


We do not want to inherit Vulkan environment variables from the Unix
environment, e.g. VK_ICD_FILENAMES confuses Windows Vulkan loader.

Signed-off-by: default avatarJózef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 6ae77731
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,8 @@ static inline BOOL is_special_env_var( const char *var )
!strncmp( var, "HOME=", sizeof("HOME=")-1 ) ||
!strncmp( var, "TEMP=", sizeof("TEMP=")-1 ) ||
!strncmp( var, "TMP=", sizeof("TMP=")-1 ) ||
!strncmp( var, "QT_", sizeof("QT_")-1 ));
!strncmp( var, "QT_", sizeof("QT_")-1 ) ||
!strncmp( var, "VK_", sizeof("VK_")-1 ));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment