[Mesa-dev] [PATCH 3/3] intel: Fix copy-and-paste bug setting gl_constants::MaxSamples
Ian Romanick
idr at freedesktop.org
Mon Dec 3 21:31:54 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>
---
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 15b77b2..507cd31 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -680,7 +680,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