summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglcontext.h
diff options
context:
space:
mode:
authorAlexander Volkov <avolkov@astralinux.ru>2019-08-29 23:32:04 +0300
committerAlexander Volkov <avolkov@astralinux.ru>2020-05-21 11:34:12 +0300
commit9bad3508fccb058261d47e023400868147f2d733 (patch)
treeb836344e42cd6a55dea765cc5927bd9c49bfbce5 /src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglcontext.h
parente7ca98f40f83bb012002b69226d3c27c02271d31 (diff)
Add missing override
Change-Id: I88000e82ecbdc55e621dc8e22aff5e8f55cf9d0e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglcontext.h')
-rw-r--r--src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglcontext.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglcontext.h b/src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglcontext.h
index fda53f17a1..af394d12ed 100644
--- a/src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglcontext.h
+++ b/src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglcontext.h
@@ -56,7 +56,7 @@ public:
{
}
- void swapBuffers(QPlatformSurface *surface)
+ void swapBuffers(QPlatformSurface *surface) override
{
QEGLPlatformContext::swapBuffers(surface);
if (surface->surface()->surfaceClass() == QSurface::Window) {
@@ -69,17 +69,17 @@ public:
}
}
- bool makeCurrent(QPlatformSurface *surface)
+ bool makeCurrent(QPlatformSurface *surface) override
{
return QEGLPlatformContext::makeCurrent(surface);
}
- void doneCurrent()
+ void doneCurrent() override
{
QEGLPlatformContext::doneCurrent();
}
- EGLSurface eglSurfaceForPlatformSurface(QPlatformSurface *surface)
+ EGLSurface eglSurfaceForPlatformSurface(QPlatformSurface *surface) override
{
if (surface->surface()->surfaceClass() == QSurface::Window)
return static_cast<QXcbEglWindow *>(surface)->eglSurface();