From 6f0fcec07a16eb48ebdafffd0b4ae0bb5ac611a4 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Thu, 7 Sep 2017 15:17:23 -0500 Subject: swr/rast: Migrate memory pointers to gfxptr_t type Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/swr_resource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/swr/swr_resource.h') diff --git a/src/gallium/drivers/swr/swr_resource.h b/src/gallium/drivers/swr/swr_resource.h index 4effd4604f4..4a2d66906a6 100644 --- a/src/gallium/drivers/swr/swr_resource.h +++ b/src/gallium/drivers/swr/swr_resource.h @@ -92,7 +92,7 @@ swr_resource_data(struct pipe_resource *resource) assert(!swr_resource_is_texture(resource)); - return swr_r->swr.pBaseAddress; + return (uint8_t*)(swr_r->swr.xpBaseAddress); } -- cgit v1.2.3