[Mesa-dev] [PATCH 4/9] intel: Fix copy-and-paste bug setting gl_constants::MaxSamples
Ian Romanick
idr at freedesktop.org
Wed Dec 19 15:58:38 PST 2012
From: Ian Romanick <ian.d.romanick at intel.com>
gl_constants::MaxSamples is an integer, so setting it to 1.0 is just
silly.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
---
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 b95972f..f3f9983 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;
--
1.7.11.7
More information about the mesa-dev
mailing list