Fixed 24bit color format.
authorArmin Novak <armin.novak@thincast.com>
Fri, 15 Jul 2016 14:45:26 +0000 (16:45 +0200)
committerArmin Novak <armin.novak@thincast.com>
Thu, 6 Oct 2016 11:43:01 +0000 (13:43 +0200)
libfreerdp/gdi/gdi.c

index dd56edf..c66ca9f 100644 (file)
@@ -335,7 +335,7 @@ UINT32 gdi_get_pixel_format(UINT32 bitsPerPixel, BOOL vFlip)
                        break;
 
                case 24:
-                       format = vFlip ? PIXEL_FORMAT_RGB24_VF : PIXEL_FORMAT_RGB24;
+                       format = vFlip ? PIXEL_FORMAT_BGR24_VF : PIXEL_FORMAT_BGR24;
                        break;
 
                case 16: