Commit b6e9f637 authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

qxl: stop direct access to DisplaySurface fields.


Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 09bbb0ae
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment