Fix build on macOS.

This commit is contained in:
John Preston 2021-06-07 10:27:30 +04:00
parent 71ddfacfaa
commit 1886a5c4ed

View file

@ -32,7 +32,7 @@ public:
not_null<QOpenGLWidget*> widget, not_null<QOpenGLWidget*> widget,
QOpenGLFunctions &f, QOpenGLFunctions &f,
int w, int w,
int h); int h) override;
void paint( void paint(
not_null<QOpenGLWidget*> widget, not_null<QOpenGLWidget*> widget,
@ -46,7 +46,7 @@ private:
bool handleHideWorkaround(QOpenGLFunctions &f); bool handleHideWorkaround(QOpenGLFunctions &f);
void setDefaultViewport(QOpenGLFunctions &f); void setDefaultViewport(QOpenGLFunctions &f);
void paintBackground(); void paintBackground() override;
void paintTransformedVideoFrame(ContentGeometry geometry) override; void paintTransformedVideoFrame(ContentGeometry geometry) override;
void paintTransformedStaticContent( void paintTransformedStaticContent(
const QImage &image, const QImage &image,