diff options
Diffstat (limited to 'tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm')
-rw-r--r-- | tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm b/tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm index 65d2861483..c62a330715 100644 --- a/tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm +++ b/tools/gpu/gl/iOS/CreatePlatformGLTestContext_iOS.mm @@ -66,7 +66,7 @@ IOSGLTestContext::IOSGLTestContext(IOSGLTestContext* shareContext) "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib", RTLD_LAZY); - this->init(gl.release()); + this->init(std::move(gl)); } IOSGLTestContext::~IOSGLTestContext() { |