diff options
Diffstat (limited to 'src/core/compositor/native_skia_output_device_opengl.cpp')
-rw-r--r-- | src/core/compositor/native_skia_output_device_opengl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/compositor/native_skia_output_device_opengl.cpp b/src/core/compositor/native_skia_output_device_opengl.cpp index ea4c0c500..058573b9e 100644 --- a/src/core/compositor/native_skia_output_device_opengl.cpp +++ b/src/core/compositor/native_skia_output_device_opengl.cpp @@ -68,7 +68,7 @@ QSGTexture *NativeSkiaOutputDeviceOpenGL::texture(QQuickWindow *win, uint32_t te // TODO: Add WGL support over ANGLE. QT_NOT_YET_IMPLEMENTED #elif defined(Q_OS_MACOS) - uint32_t glTexture = makeCGLTexture(win, ioSurface.release(), size()); + uint32_t glTexture = makeCGLTexture(win, ioSurface.get(), size()); texture = QNativeInterface::QSGOpenGLTexture::fromNative(glTexture, win, size(), texOpts); m_frontBuffer->textureCleanupCallback = [glTexture]() { |