st/mesa: rename st_texture_release_sampler_view()
To st_texture_release_context_sampler_view() to be more clear that it's context-specific. Reviewed-by: Neha Bhende <bhenden@vmware.com>
This commit is contained in:
parent
41adb3d6df
commit
70a2ede112
|
@ -748,7 +748,7 @@ destroy_tex_sampler_cb(GLuint id, void *data, void *userData)
|
|||
struct gl_texture_object *texObj = (struct gl_texture_object *) data;
|
||||
struct st_context *st = (struct st_context *) userData;
|
||||
|
||||
st_texture_release_sampler_view(st, st_texture_object(texObj));
|
||||
st_texture_release_context_sampler_view(st, st_texture_object(texObj));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -185,7 +185,7 @@ st_texture_get_current_sampler_view(const struct st_context *st,
|
|||
* which belong to the context before the context is destroyed.
|
||||
*/
|
||||
void
|
||||
st_texture_release_sampler_view(struct st_context *st,
|
||||
st_texture_release_context_sampler_view(struct st_context *st,
|
||||
struct st_texture_object *stObj)
|
||||
{
|
||||
GLuint i;
|
||||
|
|
|
@ -58,7 +58,7 @@ st_create_texture_sampler_view(struct pipe_context *pipe,
|
|||
|
||||
|
||||
extern void
|
||||
st_texture_release_sampler_view(struct st_context *st,
|
||||
st_texture_release_context_sampler_view(struct st_context *st,
|
||||
struct st_texture_object *stObj);
|
||||
|
||||
extern void
|
||||
|
|
Loading…
Reference in New Issue