aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/SkNullGLContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/SkNullGLContext.cpp')
-rw-r--r--src/gpu/gl/SkNullGLContext.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gpu/gl/SkNullGLContext.cpp b/src/gpu/gl/SkNullGLContext.cpp
index 576ee526f1..86c09b2045 100644
--- a/src/gpu/gl/SkNullGLContext.cpp
+++ b/src/gpu/gl/SkNullGLContext.cpp
@@ -8,9 +8,6 @@
#include "gl/SkNullGLContext.h"
-const GrGLInterface* SkNullGLContext::createGLContext(GrGLStandard forcedGpuAPI) {
- if (kGLES_GrGLStandard == forcedGpuAPI) {
- return NULL;
- }
+const GrGLInterface* SkNullGLContext::createGLContext() {
return GrGLCreateNullInterface();
};