diff options
Diffstat (limited to 'libvncclient/zrle.c')
-rw-r--r-- | libvncclient/zrle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libvncclient/zrle.c b/libvncclient/zrle.c index 0128146..ceba15a 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; @@ -420,8 +420,8 @@ static int HandleZRLETile(rfbClient* client, #undef HandleZRLE #undef HandleZRLETile #undef UncompressCPixel -#undef REALBPP #endif #undef UNCOMP +#undef REALBPP |