[blitter] Generate a new serial number when resizing the pixmap
The raster pixmap is generating a new serial number when the pixmap is resized, do the same for the blitter code. Change-Id: I05c74df7ea0f3a99ec9c24dacb41562da21c2d6d Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
This commit is contained in:
parent
b256d7b3bb
commit
6e13586d8b
@ -97,6 +97,7 @@ void QBlittablePlatformPixmap::resize(int width, int height)
|
||||
w = width;
|
||||
h = height;
|
||||
is_null = (w <= 0 || h <= 0);
|
||||
setSerialNumber(++global_ser_no);
|
||||
}
|
||||
|
||||
int QBlittablePlatformPixmap::metric(QPaintDevice::PaintDeviceMetric metric) const
|
||||
|
Loading…
Reference in New Issue
Block a user