From 1886a5c4ede239aa287919ab9dda0e7b21f80cec Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 7 Jun 2021 10:27:30 +0400 Subject: [PATCH] Fix build on macOS. --- Telegram/SourceFiles/media/view/media_view_overlay_opengl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/media/view/media_view_overlay_opengl.h b/Telegram/SourceFiles/media/view/media_view_overlay_opengl.h index aa731a626..e1d61cb18 100644 --- a/Telegram/SourceFiles/media/view/media_view_overlay_opengl.h +++ b/Telegram/SourceFiles/media/view/media_view_overlay_opengl.h @@ -32,7 +32,7 @@ public: not_null widget, QOpenGLFunctions &f, int w, - int h); + int h) override; void paint( not_null widget, @@ -46,7 +46,7 @@ private: bool handleHideWorkaround(QOpenGLFunctions &f); void setDefaultViewport(QOpenGLFunctions &f); - void paintBackground(); + void paintBackground() override; void paintTransformedVideoFrame(ContentGeometry geometry) override; void paintTransformedStaticContent( const QImage &image,