diff options
Diffstat (limited to 'src/gpu/gl/GrGLUtil.cpp')
-rw-r--r-- | src/gpu/gl/GrGLUtil.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLUtil.cpp b/src/gpu/gl/GrGLUtil.cpp index 41c57eb1e1..cf4615ad86 100644 --- a/src/gpu/gl/GrGLUtil.cpp +++ b/src/gpu/gl/GrGLUtil.cpp @@ -330,6 +330,10 @@ GrGLRenderer GrGLGetRendererFromString(const char* rendererString) { if (0 == strncmp(rendererString, kMaliTStr, SK_ARRAY_COUNT(kMaliTStr) - 1)) { return kMaliT_GrGLRenderer; } + static const char kANGLEStr[] = "ANGLE"; + if (0 == strncmp(rendererString, kANGLEStr, SK_ARRAY_COUNT(kANGLEStr) - 1)) { + return kANGLE_GrGLRenderer; + } } return kOther_GrGLRenderer; } |