summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_inlines.h
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/auxiliary/util/u_inlines.h
parent36c9557cae78814b320768697eaccf3cf0e0ebae (diff)
gallium: replace pipe_resource::_usage with pipe_resource::usage
Diffstat (limited to 'src/gallium/auxiliary/util/u_inlines.h')
-rw-r--r--src/gallium/auxiliary/util/u_inlines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_inlines.h b/src/gallium/auxiliary/util/u_inlines.h
index 089adcf3827..a48689ee8be 100644
--- a/src/gallium/auxiliary/util/u_inlines.h
+++ b/src/gallium/auxiliary/util/u_inlines.h
@@ -159,7 +159,7 @@ pipe_buffer_create( struct pipe_screen *screen,
buffer.target = PIPE_BUFFER;
buffer.format = PIPE_FORMAT_R8_UNORM; /* want TYPELESS or similar */
buffer.bind = bind;
- buffer._usage = PIPE_USAGE_DEFAULT;
+ buffer.usage = PIPE_USAGE_DEFAULT;
buffer.flags = 0;
buffer.width0 = size;
buffer.height0 = 1;