Update vkconfig check

This commit is contained in:
baldurk
2025-02-06 17:54:53 +00:00
parent d44b326130
commit b691f2421e
+4 -1
View File
@@ -560,8 +560,11 @@ int main(int argc, char *argv[])
// documentation is unclear, mentions both these files so check both just in case
QFileInfo vkconfigcheck1(fn + lit("VkLayerOverride.json"));
QFileInfo vkconfigcheck2(fn + lit("VkLayer_Override.json"));
// lower case might be used on linux
QFileInfo vkconfigcheck3(fn + lit("VkLayer_override.json"));
if((vkconfigcheck1.exists() && vkconfigcheck1.isFile()) ||
(vkconfigcheck2.exists() && vkconfigcheck2.isFile()))
(vkconfigcheck2.exists() && vkconfigcheck2.isFile()) ||
(vkconfigcheck3.exists() && vkconfigcheck3.isFile()))
{
RDDialog::warning(
NULL, tr("vkconfig detected - possible incompatibility"),