From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOTge-00028f-9Z for qemu-devel@nongnu.org; Wed, 17 Oct 2012 09:29:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOTgU-0006Nf-Ri for qemu-devel@nongnu.org; Wed, 17 Oct 2012 09:29:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOTgU-0006NI-Jh for qemu-devel@nongnu.org; Wed, 17 Oct 2012 09:29:18 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9HDTICu004092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Oct 2012 09:29:18 -0400 From: Gerd Hoffmann Date: Wed, 17 Oct 2012 15:29:08 +0200 Message-Id: <1350480554-23281-9-git-send-email-kraxel@redhat.com> In-Reply-To: <1350480554-23281-1-git-send-email-kraxel@redhat.com> References: <1350480554-23281-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 08/14] qxl: stop direct access to DisplaySurface fields. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- hw/qxl-render.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/qxl-render.c b/hw/qxl-render.c index 47eb8b4..98ecb21 100644 --- a/hw/qxl-render.c +++ b/hw/qxl-render.c @@ -24,7 +24,7 @@ static void qxl_blit(PCIQXLDevice *qxl, QXLRect *rect) { uint8_t *src; - uint8_t *dst = qxl->vga.ds->surface->data; + uint8_t *dst = ds_get_data(qxl->vga.ds); int len, i; if (is_buffer_shared(qxl->vga.ds->surface)) { -- 1.7.1