From: Brian Paul Date: Mon, 24 Mar 2014 19:53:26 +0000 (-0600) Subject: svga: fix a comment (sampler vs. sampler_view) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82246f793980204cd68240b2bc2b2b3cb7ed7d3d;p=mesa.git svga: fix a comment (sampler vs. sampler_view) --- diff --git a/src/gallium/drivers/svga/svga_pipe_sampler.c b/src/gallium/drivers/svga/svga_pipe_sampler.c index 805e23b18ee..a5b5d00fa1e 100644 --- a/src/gallium/drivers/svga/svga_pipe_sampler.c +++ b/src/gallium/drivers/svga/svga_pipe_sampler.c @@ -175,7 +175,7 @@ svga_bind_sampler_states(struct pipe_context *pipe, for (i = 0; i < num; i++) svga->curr.sampler[start + i] = samplers[i]; - /* find highest non-null sampler_views[] entry */ + /* find highest non-null sampler[] entry */ { unsigned j = MAX2(svga->curr.num_samplers, start + num); while (j > 0 && svga->curr.sampler[j - 1] == NULL)