summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2016-09-15 15:31:43 -0600
committerBrian Paul <brianp@vmware.com>2016-09-16 08:44:26 -0600
commit187c2781210a05f1e144f87fffdd4f513d2380c4 (patch)
tree3750e698564ac318dd0ab1f739705402f76562b2 /src/mesa/state_tracker
parenta01872f80880c1b928817d84834b7259d073b367 (diff)
downloadexternal_mesa3d-187c2781210a05f1e144f87fffdd4f513d2380c4.zip
external_mesa3d-187c2781210a05f1e144f87fffdd4f513d2380c4.tar.gz
external_mesa3d-187c2781210a05f1e144f87fffdd4f513d2380c4.tar.bz2
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>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_atom_msaa.c4
1 files 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)