summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i810/i810context.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2007-04-04 16:50:47 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2007-04-04 16:50:47 +0800
commit40ae3943f2ced65cdb77091f7dd31b57a0f422dd (patch)
tree8e45252cdfe759dc1c100d4afe9fee2da43220d7 /src/mesa/drivers/dri/i810/i810context.c
parentdba21ed913da2222e3b55fc8ba724ca93acbabf1 (diff)
i810/i915/i915tex: reinitialize the context point state
Diffstat (limited to 'src/mesa/drivers/dri/i810/i810context.c')
-rw-r--r--src/mesa/drivers/dri/i810/i810context.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i810/i810context.c b/src/mesa/drivers/dri/i810/i810context.c
index f0332d9ae8..43108840eb 100644
--- a/src/mesa/drivers/dri/i810/i810context.c
+++ b/src/mesa/drivers/dri/i810/i810context.c
@@ -278,6 +278,11 @@ i810CreateContext( const __GLcontextModes *mesaVis,
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);
+
ctx->Driver.GetBufferSize = i810BufferSize;
ctx->Driver.GetString = i810GetString;