Index: src/gpu/GrContextFactory.cpp |
diff --git a/src/gpu/GrContextFactory.cpp b/src/gpu/GrContextFactory.cpp |
index 3f7fd4abd914cc5bd2430dad4c3a9f93d9bd4d5f..b7e48254c881af6835b8c6e195b3a8c2ee1a69a7 100755 |
--- a/src/gpu/GrContextFactory.cpp |
+++ b/src/gpu/GrContextFactory.cpp |
@@ -95,11 +95,8 @@ GrContextFactory::ContextInfo GrContextFactory::getContextInfo(GLContextType typ |
break; |
#endif |
#if SK_COMMAND_BUFFER |
- case kCommandBufferES2_GLContextType: |
- glCtx.reset(SkCommandBufferGLContext::CreateES2()); |
- break; |
- case kCommandBufferES3_GLContextType: |
- glCtx.reset(SkCommandBufferGLContext::CreateES3()); |
+ case kCommandBuffer_GLContextType: |
+ glCtx.reset(SkCommandBufferGLContext::Create()); |
break; |
#endif |
#if SK_MESA |