gallium: remove flags from the flush function
[mesa.git] / src / gallium / drivers / nvfx / nvfx_state_emit.c
index 40ae4f5bd2108c971c015f3506059af32d5c6682..ae9c31418c3c097a3e9650bb3b6be7b8f3d45487 100644 (file)
@@ -426,7 +426,7 @@ nvfx_state_validate_swtnl(struct nvfx_context *nvfx)
                        NOUVEAU_ERR("hw->swtnl 0x%08x\n", nvfx->fallback_swtnl);
                        warned = TRUE;
                }
-               nvfx->pipe.flush(&nvfx->pipe, 0, NULL);
+                nvfx->pipe.flush(&nvfx->pipe, NULL);
                nvfx->dirty |= (NVFX_NEW_VIEWPORT |
                                NVFX_NEW_VERTPROG |
                                NVFX_NEW_ARRAYS);