Index: src/gpu/GrContextFactory.cpp |
diff --git a/src/gpu/GrContextFactory.cpp b/src/gpu/GrContextFactory.cpp |
index 0fe01df16b41963f45f7602b18eb0e706e3ac1ec..acd5d93a04f846fb93d66b697dc89c55e630d280 100755 |
--- a/src/gpu/GrContextFactory.cpp |
+++ b/src/gpu/GrContextFactory.cpp |
@@ -43,7 +43,10 @@ GrContext* GrContextFactory::get(GLContextType type, GrGLStandard forcedGpuAPI) |
break; |
#ifdef SK_ANGLE |
case kANGLE_GLContextType: |
- glCtx.reset(SkANGLEGLContext::Create(forcedGpuAPI)); |
+ glCtx.reset(SkANGLEGLContext::Create(forcedGpuAPI, false)); |
+ break; |
+ case kANGLE_GL_GLContextType: |
+ glCtx.reset(SkANGLEGLContext::Create(forcedGpuAPI, true)); |
break; |
#endif |
#ifdef SK_COMMAND_BUFFER |