diff options
Diffstat (limited to 'test/encodingstest.c')
-rw-r--r-- | test/encodingstest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/encodingstest.c b/test/encodingstest.c index 9a41c62..3868314 100644 --- a/test/encodingstest.c +++ b/test/encodingstest.c @@ -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)); |