cirrus: allow zero source pitch in pattern fill rops
commit5858dd1801883309bdd208d72ddb81c4e9fee30c
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 24 Jan 2017 15:35:38 +0000 (24 16:35 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 1 Feb 2017 08:43:09 +0000 (1 09:43 +0100)
tree94679d98738c12d65a552c0066af7259167d98f6
parentf153b563f8cf121aebf5a2fff5f0110faf58ccb3
cirrus: allow zero source pitch in pattern fill rops

The rops used by cirrus_bitblt_common_patterncopy only use
the destination pitch, so the source pitch shoul allowed to
be zero and the blit with used for the range check around the
source address.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Message-id: 1485272138-23249-1-git-send-email-w.bumiller@proxmox.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/cirrus_vga.c