1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00

Fixed performance issue with palettized modes on Intel drivers

Fixes #89.
This commit is contained in:
narzoul 2021-03-28 11:51:28 +02:00
parent b2c92f31da
commit ce991009be

View File

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