xcb: Increment iterator inside bgr888 region loop
Amends 9c1d3bc253
.
Change-Id: I912096794d274617e5b290dfb42685088cd49b23
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
198b67d14b
commit
9c9382a85f
@ -561,7 +561,7 @@ void QXcbBackingStore::endPaint()
|
||||
return;
|
||||
QPainter p(m_image->image());
|
||||
while (it != end) {
|
||||
const QRect rect = *it;
|
||||
const QRect rect = *(it++);
|
||||
p.drawImage(rect.topLeft(), m_rgbImage.copy(rect).rgbSwapped());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user