X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=vnchextile.h;h=f5b6fcb55e161250d8dceefa97d882ae7569d0f1;hb=6baebed7698a37a0ac5168faf26023426b0ac940;hp=f3fdfb4a267180d8026345fe3a2736f75a4467ea;hpb=a667866bc7c1d5cfeab89b24a7cd2913d3a0641a;p=qemu diff --git a/vnchextile.h b/vnchextile.h index f3fdfb4..f5b6fcb 100644 --- a/vnchextile.h +++ b/vnchextile.h @@ -13,7 +13,7 @@ static void CONCAT(send_hextile_tile_, NAME)(VncState *vs, void *last_fg_, int *has_bg, int *has_fg) { - uint8_t *row = (ds_get_data(vs->ds) + y * ds_get_linesize(vs->ds) + x * ds_get_bytes_per_pixel(vs->ds)); + uint8_t *row = vs->server.ds->data + y * ds_get_linesize(vs->ds) + x * ds_get_bytes_per_pixel(vs->ds); pixel_t *irow = (pixel_t *)row; int j, i; pixel_t *last_bg = (pixel_t *)last_bg_;