aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/debug/SkDebugGLContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/debug/SkDebugGLContext.h')
-rw-r--r--src/gpu/gl/debug/SkDebugGLContext.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gpu/gl/debug/SkDebugGLContext.h b/src/gpu/gl/debug/SkDebugGLContext.h
index abbcf559c5..113a254e0b 100644
--- a/src/gpu/gl/debug/SkDebugGLContext.h
+++ b/src/gpu/gl/debug/SkDebugGLContext.h
@@ -14,10 +14,7 @@ class SkDebugGLContext : public SkGLContext {
public:
~SkDebugGLContext() override;
- static SkDebugGLContext* Create(GrGLStandard forcedGpuAPI) {
- if (kGLES_GrGLStandard == forcedGpuAPI) {
- return nullptr;
- }
+ static SkDebugGLContext* Create() {
return new SkDebugGLContext;
}
private: