incompatibility with Qt [6.0->6.3] fixed
This commit is contained in:
parent
972f839cad
commit
aaf029bd00
@ -76,7 +76,9 @@ namespace
|
|||||||
|
|
||||||
#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
|
#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
|
||||||
QOpenGLFramebufferObject* m_fbo;
|
QOpenGLFramebufferObject* m_fbo;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK( 6, 4, 0 )
|
||||||
struct RenderTarget
|
struct RenderTarget
|
||||||
{
|
{
|
||||||
QRhiRenderTarget* rt = nullptr;
|
QRhiRenderTarget* rt = nullptr;
|
||||||
@ -368,6 +370,12 @@ void QskSceneTexture::render( const QSGRootNode* rootNode,
|
|||||||
d->renderer->renderScene();
|
d->renderer->renderScene();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool QskSceneTexture::isDirty() const
|
||||||
|
{
|
||||||
|
Q_D( const QskSceneTexture );
|
||||||
|
return d->renderer ? d->renderer->isDirty() : true;
|
||||||
|
}
|
||||||
|
|
||||||
QRectF QskSceneTexture::normalizedTextureSubRect() const
|
QRectF QskSceneTexture::normalizedTextureSubRect() const
|
||||||
{
|
{
|
||||||
return QRectF( 0, 1, 1, -1 );
|
return QRectF( 0, 1, 1, -1 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user