i965: Terminate brw_supported_msaa_modes() list with -1, not 0
authorChad Versace <chad.versace@linux.intel.com>
Fri, 15 Nov 2013 16:21:30 +0000 (08:21 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Fri, 22 Nov 2013 22:56:02 +0000 (14:56 -0800)
commit8d1a8d65b55bac28fe2c63847b1ef216b7f2c9aa
tree6f66b2be16e4ba1768850dedd08cefa78d35b056
parentaad2511c6d082aecfe8da0c3e61e2e678c84f7dd
i965: Terminate brw_supported_msaa_modes() list with -1, not 0

This simplifies the loop logic in a subsqequent patch that refactors
intel_quantize_num_samples() to use brw_supported_msaa_modes().

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_context.c