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/mesa/state_tracker/st_cb_texture.c | 2 +- src/mesa/state_tracker/st_texture.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 89f10284ce..ed113b5dbc 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -422,7 +422,7 @@ compress_with_blit(GLcontext * ctx, templ.height0 = height; templ.depth0 = 1; templ.last_level = 0; - templ._usage = PIPE_USAGE_DEFAULT; + templ.usage = PIPE_USAGE_DEFAULT; templ.bind = PIPE_BIND_SAMPLER_VIEW; src_tex = screen->resource_create(screen, &templ); diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index 2dcd9a879b..70ba239d07 100644 --- a/src/mesa/state_tracker/st_texture.c +++ b/src/mesa/state_tracker/st_texture.c @@ -100,7 +100,7 @@ st_texture_create(struct st_context *st, pt.width0 = width0; pt.height0 = height0; pt.depth0 = depth0; - pt._usage = PIPE_USAGE_DEFAULT; + pt.usage = PIPE_USAGE_DEFAULT; pt.bind = bind; pt.flags = 0; -- cgit v1.2.3