summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/zink/zink_context.c
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-06-20 12:11:15 +0200
committerErik Faye-Lund <[email protected]>2019-10-28 08:51:45 +0000
commitf90ee9e33a3a9a99b3bb3aceee78b96a7c7ecfcd (patch)
treeea7f59206c289fca3f38f9e173353b5112cc1ac1 /src/gallium/drivers/zink/zink_context.c
parente4bbdcbf809bc06ca1912cffa530540340466fbb (diff)
zink: rename sampler-view destroy function
This name is more consistent with other functions. Acked-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/zink/zink_context.c')
-rw-r--r--src/gallium/drivers/zink/zink_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c
index e28f8d7cc66..b649137b2e6 100644
--- a/src/gallium/drivers/zink/zink_context.c
+++ b/src/gallium/drivers/zink/zink_context.c
@@ -243,7 +243,7 @@ zink_create_sampler_view(struct pipe_context *pctx, struct pipe_resource *pres,
}
static void
-zink_destroy_sampler_view(struct pipe_context *pctx,
+zink_sampler_view_destroy(struct pipe_context *pctx,
struct pipe_sampler_view *pview)
{
struct zink_sampler_view *view = zink_sampler_view(pview);
@@ -1305,7 +1305,7 @@ zink_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags)
ctx->base.create_sampler_view = zink_create_sampler_view;
ctx->base.set_sampler_views = zink_set_sampler_views;
- ctx->base.sampler_view_destroy = zink_destroy_sampler_view;
+ ctx->base.sampler_view_destroy = zink_sampler_view_destroy;
ctx->base.create_vs_state = zink_create_vs_state;
ctx->base.bind_vs_state = zink_bind_vs_state;