summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_miptree.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_miptree.c
parent36c9557cae78814b320768697eaccf3cf0e0ebae (diff)
gallium: replace pipe_resource::_usage with pipe_resource::usage
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_miptree.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_miptree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_miptree.c b/src/gallium/drivers/nvfx/nvfx_miptree.c
index 97b2e5e8b69..aeb88e9ac96 100644
--- a/src/gallium/drivers/nvfx/nvfx_miptree.c
+++ b/src/gallium/drivers/nvfx/nvfx_miptree.c
@@ -145,7 +145,7 @@ nvfx_miptree_create(struct pipe_screen *pscreen, const struct pipe_resource *pt)
PIPE_BIND_DEPTH_STENCIL))
mt->base.base.flags |= NVFX_RESOURCE_FLAG_LINEAR;
else
- if (pt->_usage == PIPE_USAGE_DYNAMIC)
+ if (pt->usage == PIPE_USAGE_DYNAMIC)
mt->base.base.flags |= NVFX_RESOURCE_FLAG_LINEAR;
else {
switch (pt->format) {
@@ -185,7 +185,7 @@ nvfx_miptree_create(struct pipe_screen *pscreen, const struct pipe_resource *pt)
nvfx_miptree_layout(mt);
mt->base.bo = nouveau_screen_bo_new(pscreen, 256,
- pt->_usage, pt->bind, mt->total_size);
+ pt->usage, pt->bind, mt->total_size);
if (!mt->base.bo) {
FREE(mt);
return NULL;