From 9bad3508fccb058261d47e023400868147f2d733 Mon Sep 17 00:00:00 2001 From: Alexander Volkov Date: Thu, 29 Aug 2019 23:32:04 +0300 Subject: Add missing override Change-Id: I88000e82ecbdc55e621dc8e22aff5e8f55cf9d0e Reviewed-by: Friedemann Kleint Reviewed-by: Thiago Macieira --- .../platforms/xcb/gl_integrations/xcb_egl/qxcbeglcontext.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglcontext.h') 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(surface)->eglSurface(); -- cgit v1.2.3