From 63090fb75f1e8fe658332ec96093de6baea50560 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 7 Jan 2020 17:30:49 +0300 Subject: [PATCH] Fix build for macOS. --- Telegram/SourceFiles/media/view/media_view_pip.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/media/view/media_view_pip.h b/Telegram/SourceFiles/media/view/media_view_pip.h index 66fb71c89..160d3c94a 100644 --- a/Telegram/SourceFiles/media/view/media_view_pip.h +++ b/Telegram/SourceFiles/media/view/media_view_pip.h @@ -104,10 +104,14 @@ private: Streaming::Instance _instance; PipPanel _panel; QSize _size; + FnMut _closeAndContinue; FnMut _destroy; - QImage _frameForDirectPaint; +#ifdef USE_OPENGL_OVERLAY_WIDGET + mutable QImage _frameForDirectPaint; +#endif // USE_OPENGL_OVERLAY_WIDGET + mutable QImage _preparedCoverStorage; mutable FrameRequest _preparedCoverRequest;