Fix GFX cache eviction, use 1 based indexing.

This commit is contained in:
Armin Novak 2020-03-04 11:00:54 +01:00
parent 032574cc8f
commit 35d7e896ae
1 changed files with 1 additions and 1 deletions

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