]> Git Repo - qemu.git/commitdiff
qxl: stop direct access to DisplaySurface fields.
authorGerd Hoffmann <[email protected]>
Wed, 10 Oct 2012 11:02:14 +0000 (13:02 +0200)
committerGerd Hoffmann <[email protected]>
Thu, 1 Nov 2012 13:00:04 +0000 (14:00 +0100)
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/qxl-render.c

index 47eb8b415486c0996b5fe3d968f041fd7c4c33f9..98ecb214054c79a4c2161bd87f54d9fdd9548feb 100644 (file)
@@ -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)) {
This page took 0.025869 seconds and 4 git commands to generate.