Do not automatically set GfxSmallCache

This commit is contained in:
Armin Novak
2022-07-06 14:54:58 +02:00
committed by akallabeth
parent 3bedc1f92e
commit 42caca9223

View File

@@ -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));