summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-20 10:00:03 -0600
committerBrian Paul <brianp@vmware.com>2010-04-20 10:00:03 -0600
commita2a01853f3f40b4ef8b3f01503391877960bdaee (patch)
treeffd8f8df1aeecc3bed2c799157fac10975094f1e /src/gallium/drivers/svga
parent36c9557cae78814b320768697eaccf3cf0e0ebae (diff)
gallium: replace pipe_resource::_usage with pipe_resource::usage
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/svga_resource_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_buffer.c b/src/gallium/drivers/svga/svga_resource_buffer.c
index cfa7d1015e..18eeff9c67 100644
--- a/src/gallium/drivers/svga/svga_resource_buffer.c
+++ b/src/gallium/drivers/svga/svga_resource_buffer.c
@@ -336,7 +336,7 @@ svga_user_buffer_create(struct pipe_screen *screen,
sbuf->b.vtbl = &svga_buffer_vtbl;
sbuf->b.b.screen = screen;
sbuf->b.b.format = PIPE_FORMAT_R8_UNORM; /* ?? */
- sbuf->b.b._usage = PIPE_USAGE_IMMUTABLE;
+ sbuf->b.b.usage = PIPE_USAGE_IMMUTABLE;
sbuf->b.b.bind = bind;
sbuf->b.b.width0 = bytes;
sbuf->b.b.height0 = 1;