[PATCH] d3d9: Pass a valid map box to wined3d_resource_map().

Zebediah Figura (she/her) zfigura at codeweavers.com
Tue Sep 28 17:40:14 CDT 2021


On 9/27/21 13:07, Henri Verbeet wrote:
> On Fri, 24 Sept 2021 at 23:47, Zebediah Figura <zfigura at codeweavers.com> wrote:
>> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
>> ---
>>   dlls/d3d9/buffer.c | 12 ++++++------
>>   1 file changed, 6 insertions(+), 6 deletions(-)
>>
> So far we've mostly been taking the approach of ignoring box
> dimensions not applicable to the resource type. I think it's fine to
> switch to always requiring a completely valid box, but note that in
> that case the equivalent functions in e.g. d3d8 would also be
> affected.
> 

Mostly I was just trying to get rid of some warnings that were polluting 
the log; I didn't have any follow-ups planned. I guess those warnings 
are my fault, though (08c96a4888).

I could also change wined3d_device_context_map() to complain less, but I 
guess it's probably not worth dwelling on.



More information about the wine-devel mailing list