Fix infinite loop due to FPU limitation
authorStéphane Cerveau <scerveau@connected-labs.com>
Tue, 17 Jul 2012 06:11:28 +0000 (08:11 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 17 Jul 2012 06:19:31 +0000 (08:19 +0200)
commit50e15401c94c850abed958549d98785e43529043
treea26ab69cd62c14ac7ecb7d60329fe45256496f4d
parentfbf010a26617b3986e9a76bd9c004403aebfcdc2
Fix infinite loop due to FPU limitation

Bug detected with animatedtiles in example/animation.
In qpa mode, using some specific resolution of directfb such as
800x600 causes a bug in FillRectF where there is an infinite loop due
to scalabilty of qreal value: One is rounded and the other not.

Change-Id: I1707e53f34aeeadc0f0fc07b1dca148fbe05b5f1
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/gui/painting/qpaintengine_blitter.cpp