aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/mac
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/mac')
-rw-r--r--src/gpu/gl/mac/SkNativeGLContext_mac.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gpu/gl/mac/SkNativeGLContext_mac.cpp b/src/gpu/gl/mac/SkNativeGLContext_mac.cpp
index fefbb4c12b..df316d7ed1 100644
--- a/src/gpu/gl/mac/SkNativeGLContext_mac.cpp
+++ b/src/gpu/gl/mac/SkNativeGLContext_mac.cpp
@@ -32,11 +32,8 @@ void SkNativeGLContext::destroyGLContext() {
}
}
-const GrGLInterface* SkNativeGLContext::createGLContext(GrGLStandard forcedGpuAPI) {
+const GrGLInterface* SkNativeGLContext::createGLContext() {
SkASSERT(NULL == fContext);
- if (kGLES_GrGLStandard == forcedGpuAPI) {
- return NULL;
- }
CGLPixelFormatAttribute attributes[] = {
#if MAC_OS_X_VERSION_10_7