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:
parent
b2c92f31da
commit
ce991009be
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user