diff options
author | Brian Paul <[email protected]> | 2010-04-18 17:38:49 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-18 18:02:42 -0600 |
commit | ef9a619ba9c49e27ac3fd1c2925ae6b288cd4a09 (patch) | |
tree | 7badb318748dc5049fd5870490803e2f67b00103 /src/mesa/state_tracker/st_texture.h | |
parent | 8a7ea577ac924016db5f86cbb408dd8e218c6782 (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.h | 6 |
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 12ef2d7d01c..9fcf86844da 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; |