Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9Mfv-00070a-I2 for qemu-devel@nongnu.org; Thu, 19 Jun 2008 12:07:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9Mfu-000701-Q8 for qemu-devel@nongnu.org; Thu, 19 Jun 2008 12:07:51 -0400 Received: from [199.232.76.173] (port=52444 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9Mfu-0006zw-Ke for qemu-devel@nongnu.org; Thu, 19 Jun 2008 12:07:50 -0400 Received: from savannah.gnu.org ([199.232.41.3]:38248 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K9Mfu-0001hG-D4 for qemu-devel@nongnu.org; Thu, 19 Jun 2008 12:07:50 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1K9Mft-0006i8-9W for qemu-devel@nongnu.org; Thu, 19 Jun 2008 16:07:49 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1K9Mft-0006i3-2X for qemu-devel@nongnu.org; Thu, 19 Jun 2008 16:07:49 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Thu, 19 Jun 2008 16:07:49 +0000 Subject: [Qemu-devel] [4751] Also fix 24 bit depth Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 =================================================================== --- trunk/hw/tcx.c 2008-06-19 15:56:22 UTC (rev 4750) +++ trunk/hw/tcx.c 2008-06-19 16:07:48 UTC (rev 4751) @@ -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;