Fix up rhiwidget manual test after the QWidgetPrivate change
Change-Id: Id3e8d8ce7e175be9b5e9e83e23910546d69a90fa Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io> Reviewed-by: Andy Nichols <andy.nichols@qt.io>bb10
parent
60968090ad
commit
9dc3ed288a
|
|
@ -13,7 +13,13 @@ class QRhiWidgetPrivate : public QWidgetPrivate
|
|||
{
|
||||
Q_DECLARE_PUBLIC(QRhiWidget)
|
||||
public:
|
||||
QRhiTexture *texture() const override { return textureInvalid ? nullptr : t; }
|
||||
TextureData texture() const override
|
||||
{
|
||||
TextureData td;
|
||||
if (!textureInvalid)
|
||||
td.textureLeft = t;
|
||||
return td;
|
||||
}
|
||||
QPlatformBackingStoreRhiConfig rhiConfig() const override;
|
||||
|
||||
void ensureRhi();
|
||||
|
|
|
|||
Loading…
Reference in New Issue