i965: fix assertion failure caused by commit dd1d66fc4ab5d7064113a2017a431c3461598b91.
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 25 Feb 2008 03:04:59 +0000 (11:04 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 25 Feb 2008 03:04:59 +0000 (11:04 +0800)
src/mesa/drivers/dri/i965/brw_context.c

index 6b2e16e4e8760410c174e7be2c534f031414f352..7dfcfedd6894cafbb0547a55829015b5bee37ed8 100644 (file)
@@ -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;