st/mesa: make st_texture_get_sampler_view() static

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Samuel Pitoiset
2017-01-27 14:34:52 +01:00
parent 62732ce263
commit 0b646ad05e
2 changed files with 1 additions and 5 deletions

View File

@@ -46,7 +46,7 @@
* If none is found an empty slot is initialized with a * If none is found an empty slot is initialized with a
* template and returned instead. * template and returned instead.
*/ */
struct pipe_sampler_view ** static struct pipe_sampler_view **
st_texture_get_sampler_view(struct st_context *st, st_texture_get_sampler_view(struct st_context *st,
struct st_texture_object *stObj) struct st_texture_object *stObj)
{ {

View File

@@ -57,10 +57,6 @@ st_create_texture_sampler_view(struct pipe_context *pipe,
} }
extern struct pipe_sampler_view **
st_texture_get_sampler_view(struct st_context *st,
struct st_texture_object *stObj);
extern void extern void
st_texture_release_sampler_view(struct st_context *st, st_texture_release_sampler_view(struct st_context *st,
struct st_texture_object *stObj); struct st_texture_object *stObj);