Merge pull request #5942 from akallabeth/gfx_cache_evict

Fix GFX cache eviction, use 1 based indexing.
This commit is contained in:
Norbert Federa
2020-03-04 11:41:01 +01:00
committed by GitHub

View File

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