diff options
author | Keith Whitwell <[email protected]> | 2006-11-23 10:12:05 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2006-11-23 10:12:05 +0000 |
commit | c4649208f085fb9137c6b52dcdbdfa2810a0691b (patch) | |
tree | 7931c0a4803c4b79e1c131320890364bf21e6bc9 | |
parent | 50b3f5654e24f0848cda5dc60f21b2c3256b9437 (diff) |
Haihao Xiang's pointsize initialization patch.
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_context.c | 5 |
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 ); |