Commit 305133fa authored by dscho's avatar dscho

shm works again

parent 99d964e0
...@@ -244,7 +244,7 @@ int main(int argc,char** argv) ...@@ -244,7 +244,7 @@ int main(int argc,char** argv)
} else if(screen->rfbClientHead && c++>updateCounter) { } else if(screen->rfbClientHead && c++>updateCounter) {
c=0; c=0;
//fprintf(stderr,"*"); //fprintf(stderr,"*");
//if(!useSHM) if(!useSHM)
framebufferImage->f.destroy_image(framebufferImage); framebufferImage->f.destroy_image(framebufferImage);
getImage(screen->rfbServerFormat.bitsPerPixel,dpy,xscreen,&framebufferImage); getImage(screen->rfbServerFormat.bitsPerPixel,dpy,xscreen,&framebufferImage);
checkForImageUpdates(screen,framebufferImage->data); checkForImageUpdates(screen,framebufferImage->data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment