mesa: only emit _NEW_MULTISAMPLE when sample mask changes
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 2 Jun 2017 15:52:48 +0000 (17:52 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 6 Jun 2017 09:47:19 +0000 (11:47 +0200)
commitaf9e537be3df89fef046c827fc83acbe2199107a
tree54dcb15cfe3f9949e87adeb1b6fa62f11ee62ea8
parent706e31fe5a228bd357a3d8e0495d3085a3953ccf
mesa: only emit _NEW_MULTISAMPLE when sample mask changes

We usually check that given parameters are different before
updating the state.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/multisample.c