Added warning on GFX channel load that it does not support acceleration.
#include <freerdp/gdi/gfx.h>
+#include <freerdp/log.h>
+#define TAG CLIENT_TAG("windows")
+
void wf_OnChannelConnectedEventHandler(rdpContext* context,
ChannelConnectedEventArgs* e)
{
@@ -38,6 +41,9 @@ void wf_OnChannelConnectedEventHandler(rdpContext* context,
}
else if (strcmp(e->name, RDPGFX_DVC_CHANNEL_NAME) == 0)
{
+ if (!settings->SoftwareGdi)
+ WLog_WARN(TAG, "Channel "RDPGFX_DVC_CHANNEL_NAME" does not support hardware acceleration, using fallback.");
+
gdi_graphics_pipeline_init(context->gdi, (RdpgfxClientContext*) e->pInterface);
}
else if (strcmp(e->name, RAIL_SVC_CHANNEL_NAME) == 0)
