Commit 92fd9b9e authored by Paweł Stankowski's avatar Paweł Stankowski Committed by Jean-Baptiste Kempf

Support for newest freerdp snapshot

Support for 24bpp was removed from freerdp repository in commit
02c1bf14ce1f3ad2199a349066548977916d9c06.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit b2cdcba9bfd832760679b12960ea11bfeaf84256)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent f235cc6e
......@@ -248,7 +248,13 @@ static bool postConnectHandler( freerdp *p_instance )
p_instance->update->BeginPaint = beginPaintHandler;
p_instance->update->EndPaint = endPaintHandler;
gdi_init( p_instance, CLRBUF_16BPP | CLRBUF_24BPP | CLRBUF_32BPP, NULL );
gdi_init( p_instance,
CLRBUF_16BPP |
#if defined(FREERDP_VERSION_MAJOR) && defined(FREERDP_VERSION_MINOR) && \
!(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 2))
CLRBUF_24BPP |
#endif
CLRBUF_32BPP, NULL );
desktopResizeHandler( p_instance->context );
return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment