aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/win/SkCreatePlatformGLContext_win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/win/SkCreatePlatformGLContext_win.cpp')
-rw-r--r--src/gpu/gl/win/SkCreatePlatformGLContext_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/win/SkCreatePlatformGLContext_win.cpp b/src/gpu/gl/win/SkCreatePlatformGLContext_win.cpp
index 6cc11439bf..da13ee739e 100644
--- a/src/gpu/gl/win/SkCreatePlatformGLContext_win.cpp
+++ b/src/gpu/gl/win/SkCreatePlatformGLContext_win.cpp
@@ -127,7 +127,7 @@ WinGLContext::WinGLContext(GrGLStandard forcedGpuAPI)
return;
}
- this->init(gl.detach());
+ this->init(gl.release());
}
WinGLContext::~WinGLContext() {