summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-11-30 14:29:49 -0800
committerIan Romanick <[email protected]>2013-01-04 17:39:05 -0800
commitd299ef3ad0bb6beb7f75331d601c693ae2585232 (patch)
treeb99cadf1b70daa7a8500890d2fe93809e3638c1b
parenta86d629799a45ddc8cde94e9304283fc1858c679 (diff)
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 <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Chris Forbes <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r--src/mesa/drivers/dri/intel/intel_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index b95972f8e9d..f3f99836e9b 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -681,7 +681,7 @@ intelInitContext(struct intel_context *intel,
ctx->Const.MaxPointSizeAA = 3.0;
ctx->Const.PointSizeGranularity = 1.0;
- ctx->Const.MaxSamples = 1.0;
+ ctx->Const.MaxSamples = 1;
if (intel->gen >= 6)
ctx->Const.MaxClipPlanes = 8;