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

Henri Verbeet hverbeet at gmail.com
Mon Sep 27 13:07:40 CDT 2021


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.



More information about the wine-devel mailing list