xfc->srcBpp = settings->ColorDepth;
xf_gdi_register_update_callbacks(instance->update);
xfc->hdc = gdi_CreateDC(xfc->clrconv, xfc->bpp);
-
- if (settings->RemoteFxCodec)
- {
- xfc->codecs->rfx = rfx_context_new(FALSE);
- }
-
- if (settings->NSCodec)
- {
- xfc->codecs->nsc = nsc_context_new();
- }
}
xfc->originalWidth = settings->DesktopWidth;
context->rail = NULL;
}
- if (xfc->codecs->rfx)
- {
- rfx_context_free(xfc->codecs->rfx);
- xfc->codecs->rfx = NULL;
- }
-
- if (xfc->codecs->nsc)
- {
- nsc_context_free(xfc->codecs->nsc);
- xfc->codecs->nsc = NULL;
- }
-
- if (xfc->codecs->clear)
- {
- clear_context_free(xfc->codecs->clear);
- xfc->codecs->clear = NULL;
- }
-
if (xfc->clrconv)
{
freerdp_clrconv_free(xfc->clrconv);