summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_resource.h
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-09-07 15:17:23 -0500
committerTim Rowley <[email protected]>2017-09-13 10:09:24 -0500
commit6f0fcec07a16eb48ebdafffd0b4ae0bb5ac611a4 (patch)
tree113f46f7e7eb085167982405c1984192df2e25d0 /src/gallium/drivers/swr/swr_resource.h
parentae2412dbbdcff6583d7e4cf0430a409b86cb9e80 (diff)
swr/rast: Migrate memory pointers to gfxptr_t type
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_resource.h')
-rw-r--r--src/gallium/drivers/swr/swr_resource.h2
1 files changed, 1 insertions, 1 deletions
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);
}