nouveau: fix undefined behaviour when testing sample_count
authorChristoph Bumiller <christoph.bumiller@speed.at>
Sat, 19 Jan 2013 19:53:22 +0000 (20:53 +0100)
committerChristoph Bumiller <christoph.bumiller@speed.at>
Sat, 19 Jan 2013 19:59:35 +0000 (20:59 +0100)
commit3703e9920c2a4d1a022871624bd0d7bd16073867
treeee3e91f5b2d08725f21333255273aa093c3e472f
parentb3cd93d933e985123eabe18dd4fd14bf33fa6968
nouveau: fix undefined behaviour when testing sample_count

NOTE: This is a candidate for the 9.0 branch.
src/gallium/drivers/nv30/nv30_screen.c
src/gallium/drivers/nv50/nv50_screen.c
src/gallium/drivers/nvc0/nvc0_screen.c