mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 22:10:11 +01:00
st/mesa: update comment in st_atom_msaa.c
The old comment was a copy and paste mistake. Indent another comment. Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
a01872f808
commit
187c278121
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue