added param1 to paint_rect
This commit is contained in:
parent
a4e3a5fd60
commit
1881c8b1b8
@ -525,7 +525,7 @@ lib_framebuffer_update(struct vnc* v)
|
||||
error = lib_recv(v, data, need_size);
|
||||
if (error == 0)
|
||||
{
|
||||
error = v->server_paint_rect(v, x, y, cx, cy, data);
|
||||
error = v->server_paint_rect(v, x, y, cx, cy, data, cx, cy, 0, 0);
|
||||
}
|
||||
}
|
||||
else if (encoding == 1) /* copy rect */
|
||||
|
@ -44,7 +44,7 @@ struct vnc
|
||||
int (*server_screen_blt)(struct vnc* v, int x, int y, int cx, int cy,
|
||||
int srcx, int srcy);
|
||||
int (*server_paint_rect)(struct vnc* v, int x, int y, int cx, int cy,
|
||||
char* data);
|
||||
char* data, int width, int height, int srcx, int srcy);
|
||||
int (*server_set_cursor)(struct vnc* v, int x, int y, char* data, char* mask);
|
||||
int (*server_palette)(struct vnc* v, int* palette);
|
||||
int (*server_msg)(struct vnc* v, char* msg, int code);
|
||||
|
Loading…
Reference in New Issue
Block a user