- 
    Bug 
- 
    Resolution: Incomplete
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    5.6
- 
    None
TexImageData::setImage assumes the input QImage contains packed image data, and ignores the bytes_per_line member. This leads to silent failure and corrupted images when the input QImage has padded image data (bytes_per_line > width*depth).
This issue should at least be checked with an assert to fail early before corrupted image data is displayed. Ideally, TexImageData should be extended with support for bytes_per_line/stride.
| For Gerrit Dashboard: QTBUG-48330 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 125952,4 | Assert on packed input data in TexImageData::setImage. | 5.6 | qt/qt3d | Status: MERGED | +2 | 0 |