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: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6ae777319e
commit
665ce1c5eb
|
@ -136,7 +136,8 @@ static inline BOOL is_special_env_var( const char *var )
|
||||||
!strncmp( var, "HOME=", sizeof("HOME=")-1 ) ||
|
!strncmp( var, "HOME=", sizeof("HOME=")-1 ) ||
|
||||||
!strncmp( var, "TEMP=", sizeof("TEMP=")-1 ) ||
|
!strncmp( var, "TEMP=", sizeof("TEMP=")-1 ) ||
|
||||||
!strncmp( var, "TMP=", sizeof("TMP=")-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 ));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue