summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2006-11-23 10:12:05 +0000
committerKeith Whitwell <[email protected]>2006-11-23 10:12:05 +0000
commitc4649208f085fb9137c6b52dcdbdfa2810a0691b (patch)
tree7931c0a4803c4b79e1c131320890364bf21e6bc9 /src/mesa/drivers
parent50b3f5654e24f0848cda5dc60f21b2c3256b9437 (diff)
Haihao Xiang's pointsize initialization patch.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/intel_context.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c
index 36edd7db7f5..d13e287fa76 100644
--- a/src/mesa/drivers/dri/i965/intel_context.c
+++ b/src/mesa/drivers/dri/i965/intel_context.c
@@ -320,6 +320,11 @@ GLboolean intelInitContext( struct intel_context *intel,
ctx->Const.MaxPointSizeAA = 3.0;
ctx->Const.PointSizeGranularity = 1.0;
+ /* reinitialize the context point state.
+ * It depend on constants in __GLcontextRec::Const
+ */
+ _mesa_init_point(ctx);
+
/* Initialize the software rasterizer and helper modules. */
_swrast_CreateContext( ctx );
_ac_CreateContext( ctx );