[4751] Also fix 24 bit depth
Revision: 4751
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4751 Author: blueswir1 Date: 2008-06-19 16:07:48 +0000 (Thu, 19 Jun 2008)
Log Message:
-----------
Also fix 24 bit depth
Modified Paths:
--------------
trunk/hw/tcx.c
Modified: trunk/hw/tcx.c
===================================================================
hw/tcx.c +2 -0
@@ -266,6 +266,8 @@if (ts->ds->depth !=32 )return ; +if (ts->ds->width != ts->width || ts->ds->height != ts->height) +dpy_resize (ts->ds, ts->width, ts->height); page = ts->vram_offset; page24 = ts->vram24_offset; cpage = ts->cplane_offset;