mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-15 21:05:45 -04:00
GL/Context: Always prefer GLES on Android
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user