mirror of https://github.com/FreeRDP/FreeRDP
Fix GFX cache eviction, use 1 based indexing.
This commit is contained in:
parent
032574cc8f
commit
35d7e896ae
|
@ -84,7 +84,7 @@ static void evict_cache_slots(RdpgfxClientContext* context, UINT16 MaxCacheSlots
|
|||
if (CacheSlots[index])
|
||||
{
|
||||
RDPGFX_EVICT_CACHE_ENTRY_PDU pdu;
|
||||
pdu.cacheSlot = (UINT16)index;
|
||||
pdu.cacheSlot = (UINT16)index + 1;
|
||||
|
||||
if (context && context->EvictCacheEntry)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue