aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp')
-rw-r--r--src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp b/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp
index d1826a49e3..c6eb34b8df 100644
--- a/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp
+++ b/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp
@@ -77,7 +77,7 @@ MacGLContext::MacGLContext()
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib",
RTLD_LAZY);
- this->init(gl.detach());
+ this->init(gl.release());
}
MacGLContext::~MacGLContext() {