This commit is contained in:
Uwe Rathmann 2023-12-21 09:03:19 +01:00
parent 4184e4ccf8
commit 5e0eaf9f6d
1 changed files with 2 additions and 2 deletions

View File

@ -240,8 +240,8 @@ namespace
format.setAttachment( QOpenGLFramebufferObject::CombinedDepthStencil );
m_fbo = new QOpenGLFramebufferObject( size, format );
}
#endif
}
}
void Renderer::clearTarget()
@ -412,7 +412,7 @@ qint64 QskSceneTexture::comparisonKey() const
QRhiTexture* QskSceneTexture::rhiTexture() const
{
Q_D( const QskSceneTexture );
return d->renderer ? d->renderer->texture() : nullptr;
return d->renderer ? d->renderer->rhiTexture() : nullptr;
}
#endif