From 5b6ca237ee63fb85cff3bb942f5136f96f2c81ec Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Mon, 25 Feb 2008 11:04:59 +0800 Subject: i965: fix assertion failure caused by commit dd1d66fc4ab5d7064113a2017a431c3461598b91. --- src/mesa/drivers/dri/i965/brw_context.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/drivers') 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; -- cgit v1.2.3