]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/display/artist: Fix invalidation of lines near screen border
authorSven Schnelle <svens@stackframe.org>
Sat, 8 Aug 2020 18:51:57 +0000 (20:51 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 26 Aug 2020 21:04:00 +0000 (23:04 +0200)
commit2f8cd515477edab1cbf38ecbdbfa2cac13ce1550
tree38818fc65b908e1818a44eef14f19f2ee87441f9
parentf9e9f7149027906785949d49b4e4c9b9ec896203
hw/display/artist: Fix invalidation of lines near screen border

If parts of the invalidated screen lines are outside of the VRAM buffer,
the code skips the whole invalidate. This is incorrect when only parts
of the buffer are invisble - which is the case when the mouse cursor is
located near the screen border.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
hw/display/artist.c