diff --git a/src/vnc.c b/src/vnc.c index a76544a80..55c6ae925 100644 --- a/src/vnc.c +++ b/src/vnc.c @@ -232,28 +232,6 @@ vnc_blit(int x, int y, int y1, int y2, int w, int h) } -static void -vnc_blit8(int x, int y, int w, int h) -{ - uint32_t *p; - int xx, yy; - - for (yy = 0; yy < h; yy++) { - p = (uint32_t *)&(((uint32_t *)rfb->frameBuffer)[yy*VNC_MAX_X]); - - if ((y+yy) >= 0 && (y+yy) < buffer->h) { - for (xx=0; xxline[y+yy][x+xx]]; - } - } - - video_blit_complete(); - - if (! updatingSize) - rfbMarkRectAsModified(rfb, 0,0, x+w,y+h); -} - - /* Initialize VNC for operation. */ int vnc_init(UNUSED(void *arg)) @@ -299,7 +277,7 @@ vnc_init(UNUSED(void *arg)) } /* Set up our BLIT handlers. */ - video_setblit(vnc_blit8, vnc_blit); + video_setblit(vnc_blit); clients = 0;