summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_buffer.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-04-20 10:00:03 -0600
committerBrian Paul <[email protected]>2010-04-20 10:00:03 -0600
commita2a01853f3f40b4ef8b3f01503391877960bdaee (patch)
treeffd8f8df1aeecc3bed2c799157fac10975094f1e /src/gallium/drivers/nvfx/nvfx_buffer.c
parent36c9557cae78814b320768697eaccf3cf0e0ebae (diff)
gallium: replace pipe_resource::_usage with pipe_resource::usage
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_buffer.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_buffer.c b/src/gallium/drivers/nvfx/nvfx_buffer.c
index 24e0a0c7f65..05b824b8f74 100644
--- a/src/gallium/drivers/nvfx/nvfx_buffer.c
+++ b/src/gallium/drivers/nvfx/nvfx_buffer.c
@@ -103,7 +103,7 @@ nvfx_buffer_create(struct pipe_screen *pscreen,
buffer->bo = nouveau_screen_bo_new(pscreen,
16,
- buffer->base._usage,
+ buffer->base.usage,
buffer->base.bind,
buffer->base.width0);
@@ -134,7 +134,7 @@ nvfx_user_buffer_create(struct pipe_screen *pscreen,
buffer->vtbl = &nvfx_buffer_vtbl;
buffer->base.screen = pscreen;
buffer->base.format = PIPE_FORMAT_R8_UNORM;
- buffer->base._usage = PIPE_USAGE_IMMUTABLE;
+ buffer->base.usage = PIPE_USAGE_IMMUTABLE;
buffer->base.bind = usage;
buffer->base.width0 = bytes;
buffer->base.height0 = 1;