mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
GL/Context: Always prefer GLES on Android
This commit is contained in:
parent
0b0e910892
commit
8e95248ef3
|
@ -44,7 +44,9 @@ namespace GL {
|
|||
|
||||
static bool ShouldPreferESContext()
|
||||
{
|
||||
#ifndef _MSC_VER
|
||||
#if defined(__ANDROID__)
|
||||
return true;
|
||||
#elif !defined(_MSC_VER)
|
||||
const char* value = std::getenv("PREFER_GLES_CONTEXT");
|
||||
return (value && std::strcmp(value, "1") == 0);
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue