[PATCH 1/6] wined3d/resource: Add flag WINED3D_MAP_WRITEONLY

Patrick Rudolph siro at das-labor.org
Thu Jul 28 11:43:11 CDT 2016


Am Thu, 28 Jul 2016 14:04:48 +0200
schrieb Henri Verbeet <hverbeet at gmail.com>:

> On 26 July 2016 at 19:09, Patrick Rudolph <siro at das-labor.org> wrote:
> >  #define WINED3D_MAP_READONLY
> > 0x0010 +#define
> > WINED3D_MAP_WRITEONLY                                   0x0020  
> But now the API is weird. What happens when both READONLY and
> WRITEONLY are set? I think the d3d11 model makes more sense.

Yes you are right.
The patch is required to fix some of the d3d11 TODOs introduced in my
tests, but you can ignore it for now.
I'll add additional tests for it.



More information about the wine-devel mailing list