From 561fed955b9a0edf302eef46e41a31ea4b0cea49 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 30 May 2025 13:02:18 -0400 Subject: [PATCH] d3d10umd: stop using pipe_surface::width/height MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit these were deleted months ago Fixes: 9d359c6d10a ("gallium: delete pipe_surface::width and pipe_surface::height") Reviewed-by: Marek Olšák Part-of: --- src/gallium/frontends/d3d10umd/OutputMerger.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/frontends/d3d10umd/OutputMerger.cpp b/src/gallium/frontends/d3d10umd/OutputMerger.cpp index 25bdf20a449..c85a853b35c 100644 --- a/src/gallium/frontends/d3d10umd/OutputMerger.cpp +++ b/src/gallium/frontends/d3d10umd/OutputMerger.cpp @@ -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); }