]> source.dussan.org Git - tigervnc.git/commitdiff
Do not perform endianness check on Windows and Apple 694/head
authorJan Grulich <jgrulich@redhat.com>
Wed, 8 Aug 2018 13:33:23 +0000 (15:33 +0200)
committerJan Grulich <jgrulich@redhat.com>
Wed, 8 Aug 2018 13:33:23 +0000 (15:33 +0200)
vncviewer/PlatformPixelBuffer.cxx

index b5c94d57711b3ad198eae3f6705b886efbbdbd73..c79b5c1a2521b930f1d67342af93545d2f10ebf1 100644 (file)
 static rfb::LogWriter vlog("PlatformPixelBuffer");
 
 PlatformPixelBuffer::PlatformPixelBuffer(int width, int height) :
-  FullFramePixelBuffer(rfb::PixelFormat(32, 24, ImageByteOrder(fl_display) == MSBFirst,
+  FullFramePixelBuffer(rfb::PixelFormat(32, 24,
+#if !defined(WIN32) && !defined(__APPLE__)
+                                        ImageByteOrder(fl_display) == MSBFirst,
+#else
+                                        false,
+#endif
                                         true, 255, 255, 255, 16, 8, 0),
                        width, height, 0, stride),
   Surface(width, height)