[PATCH 3/6] d3d9: Centralize the assignment of resource access map flags.
Henri Verbeet
hverbeet at gmail.com
Wed Jan 30 12:13:06 CST 2019
On Wed, 30 Jan 2019 at 18:56, Matteo Bruni <mbruni at codeweavers.com> wrote:
> dlls/d3d9/buffer.c | 6 ++----
> dlls/d3d9/d3d9_private.h | 22 ++++++++++++++--------
> dlls/d3d9/device.c | 2 +-
> dlls/d3d9/texture.c | 6 +++---
> 4 files changed, 20 insertions(+), 16 deletions(-)
>
I don't know, maybe. You use this in 5/6 of course, but I'd be tempted
to just introduce e.g. a "map_access_from_usage()" helper, and use
that in vertexbuffer_init() and indexbuffer_init().
More information about the wine-devel
mailing list