aboutsummaryrefslogtreecommitdiff
path: root/hw/qxl-render.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-10-10 13:02:14 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-11-01 14:00:04 +0100
commitb6e9f63711ea19b110574e384477bad4ea74f4a2 (patch)
tree474fa1454f2a2ea9d8457973a1e0864831e4bfac /hw/qxl-render.c
parent09bbb0ae8226c71aba440bdfa6fca300acd9e5d4 (diff)
downloadqemu-b6e9f63711ea19b110574e384477bad4ea74f4a2.zip
qemu-b6e9f63711ea19b110574e384477bad4ea74f4a2.tar.gz
qemu-b6e9f63711ea19b110574e384477bad4ea74f4a2.tar.bz2
qxl: stop direct access to DisplaySurface fields.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/qxl-render.c')
-rw-r--r--hw/qxl-render.c2
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)) {