| Index: src/gpu/gl/mac/SkNativeGLContext_mac.cpp
|
| diff --git a/src/gpu/gl/mac/SkNativeGLContext_mac.cpp b/src/gpu/gl/mac/SkNativeGLContext_mac.cpp
|
| index df316d7ed1f12e00963afacffab3d3e788b7be88..39b2be2a427d23b52e2609bb3c7c0f8af0f46490 100644
|
| --- a/src/gpu/gl/mac/SkNativeGLContext_mac.cpp
|
| +++ b/src/gpu/gl/mac/SkNativeGLContext_mac.cpp
|
| @@ -32,8 +32,11 @@ void SkNativeGLContext::destroyGLContext() {
|
| }
|
| }
|
|
|
| -const GrGLInterface* SkNativeGLContext::createGLContext() {
|
| +const GrGLInterface* SkNativeGLContext::createGLContext(GrGLStandard forcedStandard) {
|
| SkASSERT(NULL == fContext);
|
| + if (kGLES_GrGLStandard == forcedStandard) {
|
| + return NULL;
|
| + }
|
|
|
| CGLPixelFormatAttribute attributes[] = {
|
| #if MAC_OS_X_VERSION_10_7
|
|
|