aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm')
-rw-r--r--src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm b/src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm
index 5be351f52e..54dc59af03 100644
--- a/src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm
+++ b/src/gpu/gl/iOS/SkCreatePlatformGLContext_iOS.mm
@@ -53,7 +53,7 @@ IOSGLContext::IOSGLContext()
"/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib",
RTLD_LAZY);
- this->init(gl.detach());
+ this->init(gl.release());
}
IOSGLContext::~IOSGLContext() {