GL/Context: Disable GLES3.2 on PowerVR Rogue

It's choking on our shaders, maybe it's the I/O blocks or texture
buffers?
This commit is contained in:
Connor McLaughlin 2021-03-07 17:34:27 +10:00
parent ee190ef561
commit db17baba1b

View file

@ -64,6 +64,12 @@ static void DisableBrokenExtensions(const char* gl_vendor, const char* gl_render
GLAD_GL_EXT_copy_image = 0;
GLAD_GL_OES_copy_image = 0;
}
if (std::strstr(gl_renderer, "PowerVR Rogue"))
{
Log_VerbosePrintf("PowerVR Rogue driver detected, disabling GLES3.2");
GLAD_GL_ES_VERSION_3_2 = 0;
}
}
Context::Context(const WindowInfo& wi) : m_wi(wi) {}