fix for bug#9971
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 5 Mar 2007 14:18:21 +0000 (22:18 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 5 Mar 2007 14:18:21 +0000 (22:18 +0800)
call swsetup_Wakeup before falling back to software rendering

src/mesa/drivers/dri/i965/brw_draw.c

index 092c6bafc2d155d449ee03f564142fa9beaceef6..4eb2eedd422825354fbab946754844ba73936830 100644 (file)
@@ -458,6 +458,7 @@ void brw_draw_prims( GLcontext *ctx,
     * swrast to do the drawing.
     */
    if (!retval) {
+       _swsetup_Wakeup(ctx);
       _tnl_draw_prims(ctx, arrays, prim, nr_prims, ib, min_index, max_index);
    }