[PATCH v2 01/12] render: Don't filter 0 return from GetTimeInMillis

Daniel Stone daniel at fooishbar.org
Thu Dec 30 18:05:35 PST 2010


On Thu, Dec 30, 2010 at 07:19:32PM +0200, Pauli wrote:
> From: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
> 
> In animate cursor block handler code assumes GetTimeInMillis returns
> always nonzero value. This isn't true when time wraps around.
> 
> To prevent any problems in case GetTimeInMillis would return zero use
> activeDevice variable to track if we have received time.
> 
> Signed-off-by: Pauli Nieminen <ext-pauli.nieminen at nokia.com>

Reviewed-by: Daniel Stone <daniel at fooishbar.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101231/6d6f23ba/attachment.pgp>


More information about the xorg-devel mailing list