Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.1
-
None
-
c376e13abdcce32e65512db1236cb4b41d4fa1ea
Description
This causes garbled rendering if bytesPerLine() is not equivalent to width() * (bytes per pixel).
rgb doesn't handle it at all, i420 looks like it partially handles it, in that it calculates a correct offset for u/v, but (like rgb) it does not tell OpenGL the stride length through glPixelStorei before calling glTexImage2D.