macOS: Guard backingstore composeAndFlush with QT_NO_OPENGL
Fixes: QTBUG-75612 Change-Id: I0e90a84697c1eb055c4150f2519829977fce7244 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>bb10
parent
24eb0b33a4
commit
83347e2d39
|
|
@ -76,8 +76,10 @@ public:
|
|||
void endPaint() override;
|
||||
|
||||
void flush(QWindow *, const QRegion &, const QPoint &) override;
|
||||
#ifndef QT_NO_OPENGL
|
||||
void composeAndFlush(QWindow *window, const QRegion ®ion, const QPoint &offset,
|
||||
QPlatformTextureList *textures, bool translucentBackground) override;
|
||||
#endif
|
||||
|
||||
QPlatformGraphicsBuffer *graphicsBuffer() const override;
|
||||
|
||||
|
|
|
|||
|
|
@ -523,6 +523,7 @@ void QCALayerBackingStore::flush(QWindow *flushedWindow, const QRegion ®ion,
|
|||
// the window server.
|
||||
}
|
||||
|
||||
#ifndef QT_NO_OPENGL
|
||||
void QCALayerBackingStore::composeAndFlush(QWindow *window, const QRegion ®ion, const QPoint &offset,
|
||||
QPlatformTextureList *textures, bool translucentBackground)
|
||||
{
|
||||
|
|
@ -531,6 +532,7 @@ void QCALayerBackingStore::composeAndFlush(QWindow *window, const QRegion ®io
|
|||
|
||||
QPlatformBackingStore::composeAndFlush(window, region, offset, textures, translucentBackground);
|
||||
}
|
||||
#endif
|
||||
|
||||
QPlatformGraphicsBuffer *QCALayerBackingStore::graphicsBuffer() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue