diff options
author | dscho <dscho> | 2003-08-08 11:36:21 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-08-08 11:36:21 +0000 |
commit | 1fd42ce98cd082309f72467bee73a910c9662fc9 (patch) | |
tree | cfd4cc6d9037397a41f1e8579dd54d7c91d49a35 /rfbserver.c | |
parent | f9e179613f072e15cc7433bc96e38005c854b29f (diff) | |
download | libvncserver-1fd42ce98cd082309f72467bee73a910c9662fc9.zip libvncserver-1fd42ce98cd082309f72467bee73a910c9662fc9.tar.gz |
make --without-jpeg, --without-zlib work
Diffstat (limited to 'rfbserver.c')
-rw-r--r-- | rfbserver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rfbserver.c b/rfbserver.c index 2644ee7..d841c20 100644 --- a/rfbserver.c +++ b/rfbserver.c @@ -1215,8 +1215,10 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion) fu->type = rfbFramebufferUpdate; if (nUpdateRegionRects != 0xFFFF) { if(cl->screen->maxRectsPerUpdate>0 +#ifdef LIBVNCSERVER_HAVE_LIBJPEG /* Tight encoding counts the rectangles differently */ && cl->preferredEncoding != rfbEncodingTight +#endif && nUpdateRegionRects>cl->screen->maxRectsPerUpdate) { sraRegion* newUpdateRegion = sraRgnBBox(updateRegion); sraRgnDestroy(updateRegion); |