summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/Render.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2014-04-11 23:46:44 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2014-04-11 23:46:44 -0500
commita9fa49f34d1192be3cc09473e99989283bb43fcc (patch)
tree5770e71958a4a81d0eb9a741afb40a38d9a1d6ae /Source/Core/VideoBackends/OGL/Render.cpp
parented67cc3fb219ad8e3e393fd31076830fafc5a3d9 (diff)
Support checking for the Mali-T7xx line of GPUs.
They are similar enough that they will share bugs with their drivers, so make them fall under the same Mali-Txxx umbrella of bug issues. If there is ever a need in the future for having separate bugs depending on family, we can support that then.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/Render.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/Render.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp
index 76d55f97d1..0045e1d8e5 100644
--- a/Source/Core/VideoBackends/OGL/Render.cpp
+++ b/Source/Core/VideoBackends/OGL/Render.cpp
@@ -291,9 +291,12 @@ void InitDriverInfo()
}
break;
case DriverDetails::VENDOR_ARM:
- if (std::string::npos != srenderer.find("Mali-T6"))
+ // Currently the Mali-T line has two families in it.
+ // Mali-T6xx and Mali-T7xx
+ // These two families are similar enough that they share bugs in their drivers.
+ if (std::string::npos != srenderer.find("Mali-T"))
{
- driver = DriverDetails::DRIVER_ARM_T6XX;
+ driver = DriverDetails::DRIVER_ARM_TXXX;
// Mali drivers provide no way to explicitly find out what video driver is running.
// This is similar to how we can't find the Nvidia driver version in Windows.
// Good thing is that ARM introduces a new video driver about once every two years so we can