aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/GrGLUtil.cpp')
-rw-r--r--src/gpu/gl/GrGLUtil.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLUtil.cpp b/src/gpu/gl/GrGLUtil.cpp
index 6c6148b5cb..76bab8b552 100644
--- a/src/gpu/gl/GrGLUtil.cpp
+++ b/src/gpu/gl/GrGLUtil.cpp
@@ -339,6 +339,9 @@ GrGLRenderer GrGLGetRendererFromString(const char* rendererString) {
n = sscanf(rendererString, "Intel(R) HD Graphics %d", &intelNumber);
}
if (1 == n) {
+ if (intelNumber >= 4000 && intelNumber < 5000) {
+ return kIntel4xxx_GrGLRenderer;
+ }
if (intelNumber >= 6000 && intelNumber < 7000) {
return kIntel6xxx_GrGLRenderer;
}