aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/gl/command_buffer/SkCommandBufferGLContext.h')
-rw-r--r--include/gpu/gl/command_buffer/SkCommandBufferGLContext.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h b/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h
index 7fece3c83c..47f3fd967a 100644
--- a/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h
+++ b/include/gpu/gl/command_buffer/SkCommandBufferGLContext.h
@@ -16,10 +16,7 @@ class SkCommandBufferGLContext : public SkGLContext {
public:
~SkCommandBufferGLContext() override;
- static SkCommandBufferGLContext* Create(GrGLStandard forcedGpuAPI) {
- if (kGL_GrGLStandard == forcedGpuAPI) {
- return nullptr;
- }
+ static SkCommandBufferGLContext* Create() {
SkCommandBufferGLContext* ctx = new SkCommandBufferGLContext;
if (!ctx->isValid()) {
delete ctx;