]> git.proxmox.com Git - qemu.git/blobdiff - hw/framebuffer.c
console: stop using DisplayState in gfx hardware emulation
[qemu.git] / hw / framebuffer.c
index d341aa0c6b8c9eb1659f05e99a90803b91ac7cec..7326a98a41b581e490b3107ca279b81a736ef37e 100644 (file)
@@ -24,7 +24,7 @@
 /* Render an image from a shared memory framebuffer.  */
    
 void framebuffer_update_display(
-    DisplayState *ds,
+    DisplaySurface *ds,
     MemoryRegion *address_space,
     hwaddr base,
     int cols, /* Width in pixels.  */
@@ -73,7 +73,7 @@ void framebuffer_update_display(
         return;
     }
     src = src_base;
-    dest = ds_get_data(ds);
+    dest = surface_data(ds);
     if (dest_col_pitch < 0)
         dest -= dest_col_pitch * (cols - 1);
     if (dest_row_pitch < 0) {