diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-03-17 10:06:40 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-03-17 10:06:40 +0100 |
commit | 6664c12278130ad32f7a27bfad01c6fc9691653a (patch) | |
tree | cab6322b2063fc36527bda36fa6600f53851b31c /.gitignore | |
parent | 46ad8fd0705e8705adc75038750492b3b9538a8e (diff) | |
download | spice-6664c12278130ad32f7a27bfad01c6fc9691653a.tar.gz spice-6664c12278130ad32f7a27bfad01c6fc9691653a.tar.xz spice-6664c12278130ad32f7a27bfad01c6fc9691653a.zip |
Fix up empty region checks in canvas operations
We rely on not passing on empty rects to the drawing operations by
checking for empty regions and exiting early. However the checks
were wrongly using pixman_region32_n_rects(region) == 0, whereas
we should be using pixman_region32_not_empty().
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions