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 88d5d1aae2f2308dfd6b70370b321e36be2412a9..c78a987486e04414293dbf13c490b0ca8963b8b7 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 d4c38bccdce93e75b6af0b610b5c4685f1ce4b81..6825cebdf6d01ab1d756a207ee4d0beecaba1f45 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);