Index: src/gpu/gl/GrGLUtil.cpp |
diff --git a/src/gpu/gl/GrGLUtil.cpp b/src/gpu/gl/GrGLUtil.cpp |
index 5db541ca7f879435a6fa5fd4ac1dae8d524e70a9..0a71a1d4ac15736a326f1aef72d15918b358fa7a 100644 |
--- a/src/gpu/gl/GrGLUtil.cpp |
+++ b/src/gpu/gl/GrGLUtil.cpp |
@@ -148,6 +148,11 @@ void GrGLGetDriverInfo(GrGLStandard standard, |
return; |
} |
} |
+ |
+ if (kIntel_GrGLVendor == vendor) { |
+ // We presume we're on the Intel driver since it hasn't identified itself as Mesa. |
+ *outDriver = kIntel_GrGLDriver; |
+ } |
} |
GrGLVersion GrGLGetVersionFromString(const char* versionString) { |