Update logvisor

This commit is contained in:
Jack Andersen
2019-09-30 21:22:37 -10:00
parent 9b8ef4695f
commit b918c0c4f8
4 changed files with 7 additions and 7 deletions

View File

@@ -220,14 +220,14 @@ public:
/* Check for Vulkan presence and preference */
bool tryVulkan = true;
if (!gfxApi.compare("OpenGL"))
if (gfxApi == "OpenGL")
tryVulkan = false;
for (const std::string& arg : args) {
if (!arg.compare("--gl")) {
if (arg == "--gl") {
tryVulkan = false;
break;
}
if (!arg.compare("--vulkan")) {
if (arg == "--vulkan") {
tryVulkan = true;
break;
}