OpenXR - Disable VUlkan for now

This commit is contained in:
Lubos committed 2022-10-14 16:47:54 +02:00
1 parent d0431e494a
commit de41650318
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -23,6 +23,7 @@
#include "Common/GPU/Vulkan/VulkanLoader.h"
#include "Common/Log.h"
#include "Common/System/System.h"
#include "Common/VR/PPSSPPVR.h"
#if !PPSSPP_PLATFORM(WINDOWS) && !PPSSPP_PLATFORM(SWITCH)
#include <dlfcn.h>
@@ -308,6 +309,11 @@ void VulkanSetAvailable(bool available) {
bool VulkanMayBeAvailable() {
//unsupported in VR at the moment
if (IsVRBuild()) {
return false;
}
if (g_vulkanAvailabilityChecked) {
return g_vulkanMayBeAvailable;
}