-
Bug
-
Resolution: Incomplete
-
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.