mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Fix build on macOS.
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user