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:54:39 +0000 (20:54 +0100)
commit7d2d450ea6d8082db14cd3f86c6c25442bf771c5
tree7f2c02f9374a854eceae47b59b4de80a4106d987
parentb0863c26d43a9ed135c8db980fb0bc9bca35548c
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