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 e7270c32c4..dafa1ef0bc 100644
--- a/src/gpu/gl/SkNullGLContext.cpp
+++ b/src/gpu/gl/SkNullGLContext.cpp
@@ -578,10 +578,7 @@ static void set_current_context_from_interface(const GrGLInterface* interface) {
}
#endif
-SkNullGLContext* SkNullGLContext::Create(GrGLStandard forcedGpuAPI) {
- if (kGLES_GrGLStandard == forcedGpuAPI) {
- return nullptr;
- }
+SkNullGLContext* SkNullGLContext::Create() {
SkNullGLContext* ctx = new SkNullGLContext;
if (!ctx->isValid()) {
delete ctx;