d3d10umd: stop using pipe_surface::width/height

these were deleted months ago

Fixes: 9d359c6d10 ("gallium: delete pipe_surface::width and pipe_surface::height")

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35236>
This commit is contained in:
Mike Blumenkrantz 2025-05-30 13:02:18 -04:00 committed by Marge Bot
parent 3ecec254a7
commit 561fed955b

View file

@ -236,8 +236,8 @@ ClearRenderTargetView(D3D10DDI_HDEVICE hDevice, // IN
surface,
&clear_color,
0, 0,
surface->width,
surface->height,
pipe_surface_width(surface),
pipe_surface_height(surface),
true);
}
@ -385,8 +385,8 @@ ClearDepthStencilView(D3D10DDI_HDEVICE hDevice, // IN
Depth,
Stencil,
0, 0,
surface->width,
surface->height,
pipe_surface_width(surface),
pipe_surface_height(surface),
true);
}