Index: src/gpu/gl/SkNullGLContext.cpp |
diff --git a/src/gpu/gl/SkNullGLContext.cpp b/src/gpu/gl/SkNullGLContext.cpp |
index 86c09b204576b5317400a6cf56ec19d18164c427..e604d1a28408977533078ebf8ed1bc3fbe157806 100644 |
--- a/src/gpu/gl/SkNullGLContext.cpp |
+++ b/src/gpu/gl/SkNullGLContext.cpp |
@@ -8,6 +8,9 @@ |
#include "gl/SkNullGLContext.h" |
-const GrGLInterface* SkNullGLContext::createGLContext() { |
+const GrGLInterface* SkNullGLContext::createGLContext(GrGLStandard forcedStandard) { |
+ if (kGLES_GrGLStandard == forcedStandard) { |
+ return NULL; |
+ } |
return GrGLCreateNullInterface(); |
}; |