GL/Context: Filter Mali GPUs based on ARM GL_VENDOR only

This commit is contained in:
Connor McLaughlin 2021-02-06 20:25:26 +10:00
parent b20b1a2fa8
commit ccc25fc131

View file

@ -54,7 +54,7 @@ static bool ShouldPreferESContext()
static void DisableBrokenExtensions(const char* gl_vendor, const char* gl_renderer) static void DisableBrokenExtensions(const char* gl_vendor, const char* gl_renderer)
{ {
if (std::strstr(gl_vendor, "ARM") && std::strstr(gl_renderer, "Mali")) if (std::strstr(gl_vendor, "ARM"))
{ {
// GL_{EXT,OES}_copy_image seem to be implemented on the CPU in the Mali drivers... // GL_{EXT,OES}_copy_image seem to be implemented on the CPU in the Mali drivers...
Log_VerbosePrintf("Mali driver detected, disabling GL_{EXT,OES}_copy_image"); Log_VerbosePrintf("Mali driver detected, disabling GL_{EXT,OES}_copy_image");