summaryrefslogtreecommitdiffstats
path: root/common/rfb/PixelFormat.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/PixelFormat.h')
-rw-r--r--common/rfb/PixelFormat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/rfb/PixelFormat.h b/common/rfb/PixelFormat.h
index aef309cf..dd414744 100644
--- a/common/rfb/PixelFormat.h
+++ b/common/rfb/PixelFormat.h
@@ -89,9 +89,9 @@ namespace rfb {
int blueShift;
protected:
- int redConvShift;
- int greenConvShift;
- int blueConvShift;
+ /* Pre-computed values to keep algorithms simple */
+ int redBits, greenBits, blueBits;
+ int maxBits, minBits;
bool endianMismatch;
};
}