intel: Fix copy-and-paste bug setting gl_constants::MaxSamples
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 30 Nov 2012 22:29:49 +0000 (14:29 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 5 Jan 2013 01:39:05 +0000 (17:39 -0800)
commitd299ef3ad0bb6beb7f75331d601c693ae2585232
treeb99cadf1b70daa7a8500890d2fe93809e3638c1b
parenta86d629799a45ddc8cde94e9304283fc1858c679
intel: Fix copy-and-paste bug setting gl_constants::MaxSamples

gl_constants::MaxSamples is an integer, so setting it to 1.0 is just
silly.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_context.c