diff options
author | Brian Paul <brianp@vmware.com> | 2010-04-20 10:00:03 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-04-20 10:00:03 -0600 |
commit | a2a01853f3f40b4ef8b3f01503391877960bdaee (patch) | |
tree | ffd8f8df1aeecc3bed2c799157fac10975094f1e /src/mesa | |
parent | 36c9557cae78814b320768697eaccf3cf0e0ebae (diff) | |
download | external_mesa3d-a2a01853f3f40b4ef8b3f01503391877960bdaee.zip external_mesa3d-a2a01853f3f40b4ef8b3f01503391877960bdaee.tar.gz external_mesa3d-a2a01853f3f40b4ef8b3f01503391877960bdaee.tar.bz2 |
gallium: replace pipe_resource::_usage with pipe_resource::usage
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 2 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_texture.c | 2 |
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 89f1028..ed113b5 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 2dcd9a8..70ba239 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; |