bits: Fix potential divide-by-zero in projective code
authorSøren Sandmann Pedersen <ssp@redhat.com>
Fri, 16 Jul 2010 03:40:28 +0000 (23:40 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Fri, 23 Jul 2010 23:16:43 +0000 (19:16 -0400)
commit90483fcabbd19b35ded094a6a592ee224029fd07
tree5661e145c928aac700dba785e498bd477cc2dd53
parentbf125fbbb701788d5d9ed9ff368bb4fe9d9c895e
bits: Fix potential divide-by-zero in projective code

If the homogeneous coordinate is 0, just set the coordinates to 0.
pixman/pixman-bits-image.c