Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.1
-
None
-
Windows 8.1
-
db7d66077e92e1ea4231d09c67bb14536e792cd6
Description
Following code fails in assertion check in debug mode, but works fine in release:
Rectangle { id: rect width: 100 height: 10 } ShaderEffectSource { width: 100 height: -10 sourceItem: rect }
Please check for '<= 0' of width/height, instead of '== 0' in QQuickShaderEffectSource::updatePaintNode().
Attachments
For Gerrit Dashboard: QTBUG-40099 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
90747,3 | Don't try to draw shader effect sources with dims < 0. | 5.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |