From: Francisco Jerez Date: Sun, 31 Oct 2010 21:05:16 +0000 (+0100) Subject: dri/nouveau: Re-emit the BO state when coming back from a software fallback. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a84bd587c68a48c675aae538934a0de48421ff08;p=mesa.git dri/nouveau: Re-emit the BO state when coming back from a software fallback. --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c b/src/mesa/drivers/dri/nouveau/nouveau_context.c index f681f068058..f80aaedb257 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_context.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_context.c @@ -327,10 +327,12 @@ nouveau_fallback(struct gl_context *ctx, enum nouveau_fallback mode) nctx->fallback = MAX2(HWTNL, mode); - if (mode < SWRAST) + if (mode < SWRAST) { nouveau_state_emit(ctx); - else + nouveau_bo_state_emit(ctx); + } else { FIRE_RING(context_chan(ctx)); + } } static void