[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:
Holger Hans Peter Freyther 2011-09-29 18:02:47 +02:00 committed by Qt by Nokia
parent b256d7b3bb
commit 6e13586d8b

View File

@ -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