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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user