diff options
author | Brian Paul <brianp@vmware.com> | 2010-04-20 10:00:03 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-04-20 10:00:03 -0600 |
commit | a2a01853f3f40b4ef8b3f01503391877960bdaee (patch) | |
tree | ffd8f8df1aeecc3bed2c799157fac10975094f1e /src/gallium/drivers/i965 | |
parent | 36c9557cae78814b320768697eaccf3cf0e0ebae (diff) |
gallium: replace pipe_resource::_usage with pipe_resource::usage
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r-- | src/gallium/drivers/i965/brw_resource_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_resource_buffer.c b/src/gallium/drivers/i965/brw_resource_buffer.c index 488fe13c71..5f9e8a87c9 100644 --- a/src/gallium/drivers/i965/brw_resource_buffer.c +++ b/src/gallium/drivers/i965/brw_resource_buffer.c @@ -189,7 +189,7 @@ brw_user_buffer_create(struct pipe_screen *screen, buf->b.vtbl = &brw_buffer_vtbl; buf->b.b.screen = screen; buf->b.b.format = PIPE_FORMAT_R8_UNORM; /* ?? */ - buf->b.b._usage = PIPE_USAGE_IMMUTABLE; + buf->b.b.usage = PIPE_USAGE_IMMUTABLE; buf->b.b.bind = bind; buf->b.b.width0 = bytes; buf->b.b.height0 = 1; |