mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed gdi_init for windows server.
This commit is contained in:
@@ -88,7 +88,7 @@ BOOL shw_desktop_resize(rdpContext* context)
|
||||
}
|
||||
|
||||
BOOL shw_surface_frame_marker(rdpContext* context,
|
||||
SURFACE_FRAME_MARKER* surfaceFrameMarker)
|
||||
const SURFACE_FRAME_MARKER* surfaceFrameMarker)
|
||||
{
|
||||
shwContext* shw = (shwContext*) context;
|
||||
return TRUE;
|
||||
@@ -149,7 +149,7 @@ BOOL shw_post_connect(freerdp* instance)
|
||||
shw = (shwContext*) instance->context;
|
||||
settings = instance->settings;
|
||||
|
||||
if (!gdi_init(instance, CLRBUF_32BPP, NULL))
|
||||
if (!gdi_init(instance, PIXEL_FORMAT_BGRX32))
|
||||
return FALSE;
|
||||
|
||||
gdi = instance->context->gdi;
|
||||
|
||||
Reference in New Issue
Block a user