Skip to content

Commit

Permalink
Move tightsubsamplevel member to the end of rfbClient struct.
Browse files Browse the repository at this point in the history
Try to not break ABI between releases. Even if the code gets ugly...
  • Loading branch information
bk138 committed Mar 15, 2012
1 parent 2ebf2d0 commit 4c7e185
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rfb/rfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -599,10 +599,6 @@ typedef struct _rfbClientRec {
#if defined(LIBVNCSERVER_HAVE_LIBJPEG) || defined(LIBVNCSERVER_HAVE_LIBPNG)
int tightCompressLevel;
#endif
#ifdef LIBVNCSERVER_HAVE_TURBOVNC
/* TurboVNC Encoding support (extends TightVNC) */
int tightSubsampLevel;
#endif
#endif

/* Ultra Encoding support */
Expand Down Expand Up @@ -677,6 +673,10 @@ typedef struct _rfbClientRec {
int afterEncBufLen;
#if defined(LIBVNCSERVER_HAVE_LIBZ) || defined(LIBVNCSERVER_HAVE_LIBPNG)
uint32_t tightEncoding; /* rfbEncodingTight or rfbEncodingTightPng */
#ifdef LIBVNCSERVER_HAVE_TURBOVNC
/* TurboVNC Encoding support (extends TightVNC) */
int tightSubsampLevel;
#endif
#endif

#ifdef LIBVNCSERVER_WITH_WEBSOCKETS
Expand Down

0 comments on commit 4c7e185

Please sign in to comment.