[channels,rdpgfx] use FreeRDP_GfxSuspendFrameAck

This commit is contained in:
akallabeth 2024-05-24 11:48:31 +02:00
parent ef4e6ee2c9
commit c6b7b87f8f
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -2341,6 +2341,8 @@ static UINT init_plugin_cb(GENERIC_DYNVC_PLUGIN* base, rdpContext* rcontext, rdp
return CHANNEL_RC_NO_MEMORY;
}
gfx->suspendFrameAcks =
freerdp_settings_get_bool(gfx->rdpcontext->settings, FreeRDP_GfxSuspendFrameAck);
gfx->MaxCacheSlots =
freerdp_settings_get_bool(gfx->rdpcontext->settings, FreeRDP_GfxSmallCache) ? 4096 : 25600;