Added warning for unsupported color depth.
authorArmin Novak <armin.novak@thincast.com>
Mon, 6 Feb 2017 09:31:43 +0000 (10:31 +0100)
committerArmin Novak <armin.novak@thincast.com>
Mon, 6 Feb 2017 09:31:43 +0000 (10:31 +0100)
libfreerdp/gdi/gdi.c

index eba2518..2692824 100644 (file)
@@ -393,6 +393,7 @@ UINT32 gdi_get_pixel_format(UINT32 bitsPerPixel)
                        break;
 
                default:
+                       WLog_ERR(TAG, "Unsupported color depth %"PRIu32, bitsPerPixel);
                        format = 0;
                        break;
        }