diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2016-03-24 08:30:09 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2016-03-24 08:36:43 -0600 |
commit | f96309753b7f5f4ea5e1942778087b3ace8eda9b (patch) | |
tree | 468944dfe7dac7c04c956660c941bea2f2be26c3 /src/mesa/drivers/dri/i965/gen6_multisample_state.c | |
parent | 0bea0e7141a7698118bfd465fdb4adf8e0b21bc8 (diff) | |
download | external_mesa3d-f96309753b7f5f4ea5e1942778087b3ace8eda9b.zip external_mesa3d-f96309753b7f5f4ea5e1942778087b3ace8eda9b.tar.gz external_mesa3d-f96309753b7f5f4ea5e1942778087b3ace8eda9b.tar.bz2 |
mesa: replace gl_context->Multisample._Enabled with _mesa_is_multisample_enabled.
This removes any dependency on driver validation of the number of
framebuffer samples.
Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_multisample_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_multisample_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_multisample_state.c b/src/mesa/drivers/dri/i965/gen6_multisample_state.c index 8eb620d..fcd313a 100644 --- a/src/mesa/drivers/dri/i965/gen6_multisample_state.c +++ b/src/mesa/drivers/dri/i965/gen6_multisample_state.c @@ -171,7 +171,7 @@ gen6_determine_sample_mask(struct brw_context *brw) /* BRW_NEW_NUM_SAMPLES */ unsigned num_samples = brw->num_samples; - if (ctx->Multisample._Enabled) { + if (_mesa_is_multisample_enabled(ctx)) { if (ctx->Multisample.SampleCoverage) { coverage = ctx->Multisample.SampleCoverageValue; coverage_invert = ctx->Multisample.SampleCoverageInvert; |