aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-01-27 14:34:52 +0100
committerSamuel Pitoiset <[email protected]>2017-01-30 13:42:50 +0100
commit0b646ad05e46831c7cda263f4e613e538706e0af (patch)
tree6aa87d63f67a5507abed3caf2a8d7d1990bb97d6
parent62732ce263d2932025676d1a9d60e632f0af6586 (diff)
st/mesa: make st_texture_get_sampler_view() static
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r--src/mesa/state_tracker/st_sampler_view.c2
-rw-r--r--src/mesa/state_tracker/st_sampler_view.h4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/state_tracker/st_sampler_view.c b/src/mesa/state_tracker/st_sampler_view.c
index 88d5d1aae2f..c78a987486e 100644
--- a/src/mesa/state_tracker/st_sampler_view.c
+++ b/src/mesa/state_tracker/st_sampler_view.c
@@ -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)
{
diff --git a/src/mesa/state_tracker/st_sampler_view.h b/src/mesa/state_tracker/st_sampler_view.h
index d4c38bccdce..6825cebdf6d 100644
--- a/src/mesa/state_tracker/st_sampler_view.h
+++ b/src/mesa/state_tracker/st_sampler_view.h
@@ -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);