From a2a01853f3f40b4ef8b3f01503391877960bdaee Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 20 Apr 2010 10:00:03 -0600 Subject: gallium: replace pipe_resource::_usage with pipe_resource::usage --- src/gallium/auxiliary/util/u_dump_state.c | 2 +- src/gallium/auxiliary/util/u_inlines.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/auxiliary') diff --git a/src/gallium/auxiliary/util/u_dump_state.c b/src/gallium/auxiliary/util/u_dump_state.c index 79fd38ef5c1..c134f13e908 100644 --- a/src/gallium/auxiliary/util/u_dump_state.c +++ b/src/gallium/auxiliary/util/u_dump_state.c @@ -280,7 +280,7 @@ util_dump_template(struct os_stream *stream, const struct pipe_resource *templat util_dump_member_end(stream); util_dump_member(stream, uint, templat, last_level); - util_dump_member(stream, uint, templat, _usage); + util_dump_member(stream, uint, templat, usage); util_dump_member(stream, uint, templat, bind); util_dump_member(stream, uint, templat, flags); 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; -- cgit v1.2.3