OSDN Git Service

qxl-render: add sanity check
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Jun 2014 11:51:12 +0000 (13:51 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 13 Jun 2014 10:34:57 +0000 (12:34 +0200)
commit788fbf042fc6d5aaeab56757e6dad622ac5f0c21
treeaf59ecbd9066aadb65b680aa26e6f2b5631b3732
parent5643fc012c2b7335eda43db90bd1e64d912428b0
qxl-render: add sanity check

Verify dirty rectangle is completely within the primary surface,
just ignore it in case it isn't.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/qxl-render.c