Index: src/gpu/gl/iOS/SkNativeGLContext_iOS.mm |
diff --git a/src/gpu/gl/iOS/SkNativeGLContext_iOS.mm b/src/gpu/gl/iOS/SkNativeGLContext_iOS.mm |
index 1e11c0deb7be8afd32fdbf83314f6b9b6d4717c0..a276fd05da697085a2e353d2166e3ecb78850ffe 100644 |
--- a/src/gpu/gl/iOS/SkNativeGLContext_iOS.mm |
+++ b/src/gpu/gl/iOS/SkNativeGLContext_iOS.mm |
@@ -42,11 +42,7 @@ |
[EAGLCTX release]; |
} |
-const GrGLInterface* SkNativeGLContext::createGLContext(GrGLStandard forcedGpuAPI) { |
- if (kGL_GrGLStandard == forcedGpuAPI) { |
- return NULL; |
- } |
- |
+const GrGLInterface* SkNativeGLContext::createGLContext() { |
fEAGLContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2]; |
[EAGLContext setCurrentContext:EAGLCTX]; |
@@ -65,4 +61,4 @@ |
} |
} |
-void SkNativeGLContext::swapBuffers() const { } |
+void SkNativeGLContext::swapBuffers() const { } |