mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
On Android 11 and later, let's not fallback to OpenGL at all.
Not meaningful since Vulkan is stable and widely used now and we really don't do anything crazy when drawing the menu. See #15079
This commit is contained in:
parent
df9be770d6
commit
161a32b4a2
1 changed files with 9 additions and 0 deletions
|
@ -389,6 +389,15 @@ static void CheckFailedGPUBackends() {
|
|||
return;
|
||||
#endif
|
||||
|
||||
#if PPSSPP_PLATFORM(ANDROID)
|
||||
if (System_GetPropertyInt(SYSPROP_SYSTEMVERSION) >= 30) {
|
||||
// In Android 11 or later, Vulkan is as stable as OpenGL, so let's not even bother.
|
||||
// Have also seen unexplained issues with random fallbacks to OpenGL for no good reason,
|
||||
// especially when debugging.
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
// We only want to do this once per process run and backend, to detect process crashes.
|
||||
// If NativeShutdown is called before we finish, we might call this multiple times.
|
||||
static int lastBackend = -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue