diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index 06dc99da88..0c98c0cadb 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -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 ""; }