[Mesa-dev] [PATCH] st/mesa: update comment in st_atom_msaa.c
Roland Scheidegger
sroland at vmware.com
Thu Sep 15 21:52:09 UTC 2016
Am 15.09.2016 um 23:32 schrieb Brian Paul:
> The old comment was a copy and paste mistake. Indent another comment.
> ---
> src/mesa/state_tracker/st_atom_msaa.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/mesa/state_tracker/st_atom_msaa.c b/src/mesa/state_tracker/st_atom_msaa.c
> index 8442a28..69aea69 100644
> --- a/src/mesa/state_tracker/st_atom_msaa.c
> +++ b/src/mesa/state_tracker/st_atom_msaa.c
> @@ -36,7 +36,7 @@
> #include "util/u_framebuffer.h"
>
>
> -/* Second state atom for user clip planes:
> +/* Update the sample mask for MSAA.
> */
> static void update_sample_mask( struct st_context *st )
> {
> @@ -46,7 +46,7 @@ static void update_sample_mask( struct st_context *st )
> unsigned sample_count = util_framebuffer_get_num_samples(framebuffer);
>
> if (st->ctx->Multisample.Enabled && sample_count > 1) {
> - /* unlike in gallium/d3d10 the mask is only active if msaa is enabled */
> + /* unlike in gallium/d3d10 the mask is only active if msaa is enabled */
> if (st->ctx->Multisample.SampleCoverage) {
> unsigned nr_bits;
> nr_bits = (unsigned)
>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
More information about the mesa-dev
mailing list