summaryrefslogtreecommitdiff
path: root/lib/cmap
diff options
context:
space:
mode:
authormischief <mischief@offblast.org>2014-06-09 00:22:11 -0700
committermischief <mischief@offblast.org>2014-06-09 00:22:11 -0700
commitca5cc6519de2b515e64775de4126dae29b3a1bde (patch)
tree2ff6701be9f76d37d4c5c774815921511e25ddd5 /lib/cmap
parent858d3e39ab7e792c1d6e853ed699aeb5faf7d47c (diff)
downloadplan9front-ca5cc6519de2b515e64775de4126dae29b3a1bde.tar.xz
pc: clip rectangles before sending them to the hardware in flushmemscreen
the vmware svga video card emulated by qemu (qemu -vga vmware) complains and eventually causes a panic if the rectangles aren't clipped. messages like the following can be observed from qemu before the kernel panics: vmsvga_update_rect: update h was < 0 (-20000) vmsvga_update_rect: update height too large y: 10000, h: 0 vmsvga_update_rect: update w was < 0 (-20000) vmsvga_update_rect: update width too large x: 10000, w: 0 i could only reproduce this in qemu 2.0.50 on the master branch, when using the ui and had selected 'Zoom To Fit' from the View menu.
Diffstat (limited to 'lib/cmap')
0 files changed, 0 insertions, 0 deletions