mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Core: Log more on graphics backend failures.
Just so we can tell for sure in logs what's happening.
This commit is contained in:
1 parent
562c5f6485
commit
db93a08fc9
2 files changed
+9
-1
No files matched your search
@@ -557,6 +557,8 @@ int Config::NextValidBackend() {
|
||||
}
|
||||
|
||||
if (failed.count(iGPUBackend)) {
|
||||
ERROR_LOG(LOADER, "Graphics backend failed for %d, trying another", iGPUBackend);
|
||||
|
||||
#if (PPSSPP_PLATFORM(WINDOWS) || PPSSPP_PLATFORM(ANDROID)) && !PPSSPP_PLATFORM(UWP)
|
||||
if (VulkanMayBeAvailable() && !failed.count((int)GPUBackend::VULKAN)) {
|
||||
return (int)GPUBackend::VULKAN;
|
||||
@@ -580,6 +582,7 @@ int Config::NextValidBackend() {
|
||||
|
||||
// They've all failed. Let them try the default.
|
||||
sFailedGPUBackends += ",ALL";
|
||||
ERROR_LOG(LOADER, "All graphics backends failed");
|
||||
return DefaultGPUBackend();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user