st/mesa: make st_texture_get_sampler_view() static
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 27 Jan 2017 13:34:52 +0000 (14:34 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 30 Jan 2017 12:42:50 +0000 (13:42 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_sampler_view.c
src/mesa/state_tracker/st_sampler_view.h

index 88d5d1a..c78a987 100644 (file)
@@ -46,7 +46,7 @@
  * If none is found an empty slot is initialized with a
  * template and returned instead.
  */
-struct pipe_sampler_view **
+static struct pipe_sampler_view **
 st_texture_get_sampler_view(struct st_context *st,
                             struct st_texture_object *stObj)
 {
index d4c38bc..6825ceb 100644 (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
 st_texture_release_sampler_view(struct st_context *st,
                                 struct st_texture_object *stObj);