Revision 7267c094 ui/vnc-enc-hextile.c
b/ui/vnc-enc-hextile.c | ||
---|---|---|
70 | 70 |
uint8_t *last_fg, *last_bg; |
71 | 71 |
VncDisplay *vd = vs->vd; |
72 | 72 |
|
73 |
last_fg = (uint8_t *) qemu_malloc(vd->server->pf.bytes_per_pixel);
|
|
74 |
last_bg = (uint8_t *) qemu_malloc(vd->server->pf.bytes_per_pixel);
|
|
73 |
last_fg = (uint8_t *) g_malloc(vd->server->pf.bytes_per_pixel);
|
|
74 |
last_bg = (uint8_t *) g_malloc(vd->server->pf.bytes_per_pixel);
|
|
75 | 75 |
has_fg = has_bg = 0; |
76 | 76 |
for (j = y; j < (y + h); j += 16) { |
77 | 77 |
for (i = x; i < (x + w); i += 16) { |
Also available in: Unified diff