mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-09 13:37:48 +00:00
Update logvisor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user