Oops, deleted a few lines too much in #16634

See #16634
This commit is contained in:
Henrik Rydgård 2022-12-22 09:59:03 +01:00
parent d4f5bff360
commit f65a8aa743

View file

@ -254,6 +254,13 @@ std::string NativeQueryConfig(std::string query) {
return std::string(temp);
} else if (query == "sustainedPerformanceMode") {
return std::string(g_Config.bSustainedPerformanceMode ? "1" : "0");
} else if (query == "androidJavaGL") {
// If we're using Vulkan, we say no... need C++ to use Vulkan.
if (GetGPUBackend() == GPUBackend::VULKAN) {
return "false";
}
// Otherwise, some devices prefer the Java init so play it safe.
return "true";
} else {
return "";
}