summaryrefslogtreecommitdiffstats
path: root/src/mesa
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/mesa
parent36c9557cae78814b320768697eaccf3cf0e0ebae (diff)
gallium: replace pipe_resource::_usage with pipe_resource::usage
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c2
-rw-r--r--src/mesa/state_tracker/st_texture.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index 89f10284ce6..ed113b5dbc3 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 2dcd9a879b9..70ba239d07b 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;