mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:21:50 +00:00
[D3D8][D3D9][DDRAW][WINED3D] Sync with Wine Staging 3.9. CORE-14656
This commit is contained in:
parent
a5f73f6c86
commit
7af3969e9f
42 changed files with 5268 additions and 4706 deletions
|
@ -570,7 +570,7 @@ unsigned int wined3dmapflags_from_ddrawmapflags(unsigned int flags)
|
|||
unsigned int wined3d_flags;
|
||||
|
||||
wined3d_flags = flags & handled;
|
||||
if (!(flags & (DDLOCK_NOOVERWRITE | DDLOCK_DISCARDCONTENTS)))
|
||||
if (!(flags & (DDLOCK_NOOVERWRITE | DDLOCK_DISCARDCONTENTS | DDLOCK_WRITEONLY)))
|
||||
wined3d_flags |= WINED3D_MAP_READ;
|
||||
if (!(flags & DDLOCK_READONLY))
|
||||
wined3d_flags |= WINED3D_MAP_WRITE;
|
||||
|
@ -578,7 +578,7 @@ unsigned int wined3dmapflags_from_ddrawmapflags(unsigned int flags)
|
|||
wined3d_flags |= WINED3D_MAP_READ | WINED3D_MAP_WRITE;
|
||||
if (flags & DDLOCK_NODIRTYUPDATE)
|
||||
wined3d_flags |= WINED3D_MAP_NO_DIRTY_UPDATE;
|
||||
flags &= ~(handled | DDLOCK_WAIT | DDLOCK_READONLY | DDLOCK_NODIRTYUPDATE);
|
||||
flags &= ~(handled | DDLOCK_WAIT | DDLOCK_READONLY | DDLOCK_WRITEONLY | DDLOCK_NODIRTYUPDATE);
|
||||
|
||||
if (flags)
|
||||
FIXME("Unhandled flags %#x.\n", flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue