wined3d: Replace WINED3DUSAGE_WRITEONLY with resource access flags.
commitac4f768e61e277c6152ab2cf54a6e03ab45747e0
authorMatteo Bruni <mbruni@codeweavers.com>
Thu, 31 Jan 2019 12:17:23 +0000 (31 13:17 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 31 Jan 2019 17:13:18 +0000 (31 18:13 +0100)
treee634bf46b86a90bf7fe891382403fafbf1edc561
parent10061d591e745c67fdd1f1ec47ccc98efd851e47
wined3d: Replace WINED3DUSAGE_WRITEONLY with resource access flags.

Always allow read and write mapping of ddraw buffers:
test_vb_writeonly() depends on that.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/d3d8/device.c
dlls/d3d9/device.c
dlls/ddraw/device.c
dlls/ddraw/executebuffer.c
dlls/ddraw/vertexbuffer.c
dlls/wined3d/resource.c
dlls/wined3d/utils.c
include/wine/wined3d.h