diff --git a/channels/rdpgfx/client/rdpgfx_main.c b/channels/rdpgfx/client/rdpgfx_main.c index 2e0f8d149..d485c29a0 100644 --- a/channels/rdpgfx/client/rdpgfx_main.c +++ b/channels/rdpgfx/client/rdpgfx_main.c @@ -2424,9 +2424,6 @@ RdpgfxClientContext* rdpgfx_client_context_new(rdpContext* rdpcontext) return NULL; } - if (freerdp_settings_get_bool(gfx->rdpcontext->settings, FreeRDP_GfxH264)) - freerdp_settings_set_bool(gfx->rdpcontext->settings, FreeRDP_GfxSmallCache, TRUE); - gfx->MaxCacheSlots = freerdp_settings_get_bool(gfx->rdpcontext->settings, FreeRDP_GfxSmallCache) ? 4096 : 25600; context = (RdpgfxClientContext*)calloc(1, sizeof(RdpgfxClientContext));