summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorXiang, Haihao <[email protected]>2008-02-25 11:04:59 +0800
committerXiang, Haihao <[email protected]>2008-02-25 11:04:59 +0800
commit5b6ca237ee63fb85cff3bb942f5136f96f2c81ec (patch)
tree7a2304fefa17192620ec4684da57c6d4fc479f99 /src/mesa/drivers/dri
parentd7cf6a8a697a2fb4da171a36968f65aa0f108b27 (diff)
i965: fix assertion failure caused by commit dd1d66fc4ab5d7064113a2017a431c3461598b91.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 6b2e16e4e87..7dfcfedd689 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -154,6 +154,9 @@ GLboolean brwCreateContext( const __GLcontextModes *mesaVis,
return GL_FALSE;
}
+ /* Initialize swrast, tnl driver tables: */
+ intelInitSpanFuncs(ctx);
+
TNL_CONTEXT(ctx)->Driver.RunPipeline = _tnl_run_pipeline;
ctx->Const.MaxTextureUnits = BRW_MAX_TEX_UNIT;