From: Xiang, Haihao Date: Mon, 25 Feb 2008 03:04:59 +0000 (+0800) Subject: i965: fix assertion failure caused by commit dd1d66fc4ab5d7064113a2017a431c3461598b91. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b6ca237ee63fb85cff3bb942f5136f96f2c81ec;p=mesa.git i965: fix assertion failure caused by commit dd1d66fc4ab5d7064113a2017a431c3461598b91. --- 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;