aboutsummaryrefslogtreecommitdiff
path: root/vnc-encoding-hextile.c
diff options
context:
space:
mode:
Diffstat (limited to 'vnc-encoding-hextile.c')
-rw-r--r--vnc-encoding-hextile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vnc-encoding-hextile.c b/vnc-encoding-hextile.c
index a01c5e260f..728f25e5d8 100644
--- a/vnc-encoding-hextile.c
+++ b/vnc-encoding-hextile.c
@@ -62,8 +62,8 @@ static void hextile_enc_cord(uint8_t *ptr, int x, int y, int w, int h)
#undef BPP
#undef GENERIC
-void vnc_hextile_send_framebuffer_update(VncState *vs, int x,
- int y, int w, int h)
+int vnc_hextile_send_framebuffer_update(VncState *vs, int x,
+ int y, int w, int h)
{
int i, j;
int has_fg, has_bg;
@@ -83,6 +83,7 @@ void vnc_hextile_send_framebuffer_update(VncState *vs, int x,
free(last_fg);
free(last_bg);
+ return 1;
}
void vnc_hextile_set_pixel_conversion(VncState *vs, int generic)