From: Ian Romanick Date: Fri, 30 Nov 2012 22:29:49 +0000 (-0800) Subject: intel: Fix copy-and-paste bug setting gl_constants::MaxSamples X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d299ef3ad0bb6beb7f75331d601c693ae2585232;p=mesa.git 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 --- 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;