From ce991009be78e0d3b95a2cad78dd6f3d5fa87c2b Mon Sep 17 00:00:00 2001 From: narzoul Date: Sun, 28 Mar 2021 11:51:28 +0200 Subject: [PATCH] Fixed performance issue with palettized modes on Intel drivers Fixes #89. --- DDrawCompat/D3dDdi/Resource.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/DDrawCompat/D3dDdi/Resource.cpp b/DDrawCompat/D3dDdi/Resource.cpp index c179714..d08edeb 100644 --- a/DDrawCompat/D3dDdi/Resource.cpp +++ b/DDrawCompat/D3dDdi/Resource.cpp @@ -531,7 +531,6 @@ namespace D3dDdi D3DDDIARG_LOCK lock = {}; lock.hResource = m_handle; lock.SubResourceIndex = data.DstSubResourceIndex; - lock.Flags.Discard = 1; HRESULT result = m_device.getOrigVtable().pfnLock(m_device, &lock); if (FAILED(result)) {