summaryrefslogtreecommitdiffstats
path: root/libvncclient/zrle.c
diff options
context:
space:
mode:
authorBalazs Ludmany <ludmany.balazs@cloud.bme.hu>2016-06-21 10:03:52 +0200
committerBalazs Ludmany <ludmany.balazs@cloud.bme.hu>2016-06-29 09:46:10 +0200
commita01a18df1d44ec875708d5fc9d6c4e0934535974 (patch)
tree7bafd41f957a76e6c8b204791d7e7dd39fec0b02 /libvncclient/zrle.c
parent1f8c443cbc439e79d9e2c8b92643b65b7332db89 (diff)
downloadlibtdevnc-a01a18df1d44ec875708d5fc9d6c4e0934535974.tar.gz
libtdevnc-a01a18df1d44ec875708d5fc9d6c4e0934535974.zip
Add function pointers for every type of rectangle
Diffstat (limited to 'libvncclient/zrle.c')
-rw-r--r--libvncclient/zrle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvncclient/zrle.c b/libvncclient/zrle.c
index 0128146..e732046 100644
--- a/libvncclient/zrle.c
+++ b/libvncclient/zrle.c
@@ -278,7 +278,7 @@ static int HandleZRLETile(rfbClient* client,
for(i=x; i<x+w; i++,buffer+=REALBPP/8)
((CARDBPP*)client->frameBuffer)[j+i] = UncompressCPixel(buffer);
#else
- CopyRectangle(client, buffer, x, y, w, h);
+ client->GotBitmap(client, buffer, x, y, w, h);
buffer+=w*h*REALBPP/8;
#endif
}
@@ -289,7 +289,7 @@ static int HandleZRLETile(rfbClient* client,
if(1+REALBPP/8>buffer_length)
return -4;
- FillRectangle(client, x, y, w, h, color);
+ client->GotFillRect(client, x, y, w, h, color);
buffer+=REALBPP/8;