Commit 4ff783f5 authored by dscho's avatar dscho

fix compilation when no libz is available

parent cef6224e
......@@ -150,8 +150,10 @@ static void update(rfbClient* client,int x,int y,int w,int h) {
return;
}
#ifdef LIBVNCSERVER_HAVE_LIBZ
if(testEncodings[cd->encodingIndex].id==rfbEncodingTight)
maxDelta=5;
#endif
updateStatistics(cd->encodingIndex,
!doFramebuffersMatch(cd->server,client,maxDelta));
......
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