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