From: blueswir1 Date: Thu, 19 Jun 2008 16:07:48 +0000 (+0000) Subject: Also fix 24 bit depth X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~14535 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20483400d19273c11ee98821ce4592864e51bb81;p=sdk%2Femulator%2Fqemu.git Also fix 24 bit depth git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4751 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/hw/tcx.c b/hw/tcx.c index f0ae53f..a63b441 100644 --- a/hw/tcx.c +++ b/hw/tcx.c @@ -266,6 +266,8 @@ static void tcx24_update_display(void *opaque) 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;