From d299ef3ad0bb6beb7f75331d601c693ae2585232 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 30 Nov 2012 14:29:49 -0800 Subject: [PATCH] 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 Reviewed-by: Kenneth Graunke Reviewed-by: Chris Forbes Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/intel/intel_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2