Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.2.1
-
None
-
b9f74e7467f31b63bd0ff2ae9d66bcd61a8b8b6f
Description
Change e13547c595913c58e6bd6a5ed80fdc729fae7d47 change the raw pointer to a scope pointer.
But this part is always asserting because s_renderLoopInstance is always true.
void QSGRenderLoop::setInstance(QSGRenderLoop *instance) { Q_ASSERT(!s_renderLoopInstance); s_renderLoopInstance->reset(instance); }
Change it to:
void QSGRenderLoop::setInstance(QSGRenderLoop *instance) { Q_ASSERT(s_renderLoopInstance->isNull()); s_renderLoopInstance->reset(instance); }
fixing the problem.
Attachments
For Gerrit Dashboard: QTBUG-36932 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
78563,1 | Fix wrong assert in QSGRenderLoop::setInstance | stable | qt/qtdeclarative | Status: MERGED | +2 | 0 |