From: Keith Whitwell Date: Thu, 23 Nov 2006 10:12:05 +0000 (+0000) Subject: Haihao Xiang's pointsize initialization patch. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4649208f085fb9137c6b52dcdbdfa2810a0691b;p=mesa.git Haihao Xiang's pointsize initialization patch. --- 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 );