summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_texture.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-18 17:38:49 -0600
committerBrian Paul <brianp@vmware.com>2010-04-18 18:02:42 -0600
commitef9a619ba9c49e27ac3fd1c2925ae6b288cd4a09 (patch)
tree7badb318748dc5049fd5870490803e2f67b00103 /src/mesa/state_tracker/st_texture.h
parent8a7ea577ac924016db5f86cbb408dd8e218c6782 (diff)
st/mesa: s/st_sampler_view_from_texture/st_create_texture_sampler_view/
Diffstat (limited to 'src/mesa/state_tracker/st_texture.h')
-rw-r--r--src/mesa/state_tracker/st_texture.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h
index 12ef2d7d01..9fcf86844d 100644
--- a/src/mesa/state_tracker/st_texture.h
+++ b/src/mesa/state_tracker/st_texture.h
@@ -116,8 +116,8 @@ st_get_stobj_texture(struct st_texture_object *stObj)
static INLINE struct pipe_sampler_view *
-st_sampler_view_from_texture(struct pipe_context *pipe,
- struct pipe_resource *texture)
+st_create_texture_sampler_view(struct pipe_context *pipe,
+ struct pipe_resource *texture)
{
struct pipe_sampler_view templ;
@@ -137,7 +137,7 @@ st_get_texture_sampler_view(struct st_texture_object *stObj)
}
if (!stObj->sampler_view) {
- stObj->sampler_view = st_sampler_view_from_texture(stObj->pipe, stObj->pt);
+ stObj->sampler_view = st_create_texture_sampler_view(stObj->pipe, stObj->pt);
}
return stObj->sampler_view;