dri/nouveau: Re-emit the BO state when coming back from a software fallback.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 31 Oct 2010 21:05:16 +0000 (22:05 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Sun, 31 Oct 2010 21:07:38 +0000 (22:07 +0100)
src/mesa/drivers/dri/nouveau/nouveau_context.c

index f681f06..f80aaed 100644 (file)
@@ -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