summaryrefslogtreecommitdiffstats
path: root/src/compositor
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor')
-rw-r--r--src/compositor/hardware_integration/qwlclientbufferintegration_p.h4
-rw-r--r--src/compositor/wayland_wrapper/qwlsurfacebuffer.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/compositor/hardware_integration/qwlclientbufferintegration_p.h b/src/compositor/hardware_integration/qwlclientbufferintegration_p.h
index c9d514078..b660f600c 100644
--- a/src/compositor/hardware_integration/qwlclientbufferintegration_p.h
+++ b/src/compositor/hardware_integration/qwlclientbufferintegration_p.h
@@ -74,8 +74,8 @@ public:
virtual bool isYInverted(struct ::wl_resource *) const { return true; }
- virtual void *lockNativeBuffer(struct ::wl_resource *, QOpenGLContext *) const { return 0; }
- virtual void unlockNativeBuffer(void *, QOpenGLContext *) const { return; }
+ virtual void *lockNativeBuffer(struct ::wl_resource *) const { return 0; }
+ virtual void unlockNativeBuffer(void *) const { return; }
virtual QSize bufferSize(struct ::wl_resource *) const { return QSize(); }
diff --git a/src/compositor/wayland_wrapper/qwlsurfacebuffer.cpp b/src/compositor/wayland_wrapper/qwlsurfacebuffer.cpp
index a1795f488..1ed1fefd8 100644
--- a/src/compositor/wayland_wrapper/qwlsurfacebuffer.cpp
+++ b/src/compositor/wayland_wrapper/qwlsurfacebuffer.cpp
@@ -112,7 +112,7 @@ void SurfaceBuffer::destructBufferState()
#ifdef QT_COMPOSITOR_WAYLAND_GL
} else {
ClientBufferIntegration *hwIntegration = m_compositor->clientBufferIntegration();
- hwIntegration->unlockNativeBuffer(m_handle, 0);
+ hwIntegration->unlockNativeBuffer(m_handle);
#endif
}
}
@@ -216,7 +216,7 @@ void *SurfaceBuffer::handle() const
#ifdef QT_COMPOSITOR_WAYLAND_GL
} else {
ClientBufferIntegration *clientBufferIntegration = m_compositor->clientBufferIntegration();
- that->m_handle = clientBufferIntegration->lockNativeBuffer(m_buffer, 0);
+ that->m_handle = clientBufferIntegration->lockNativeBuffer(m_buffer);
#endif
}
}