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 f681f068058a08f7fc0cdbdd8865518b4c1245eb..f80aaedb257e544af5469f5080272e7ad4903043 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