st/mesa: add a notify_before_flush callback param to flush
[mesa.git] / src / gallium / state_trackers / dri / dri_context.c
index af9e3325f98ec7a6ce711382bda4c80bc33e7d38..6efca4f8f809af05aa58debad84b0674d9287c0e 100644 (file)
@@ -241,7 +241,7 @@ dri_destroy_context(__DRIcontext * cPriv)
     * to avoid having to add code elsewhere to cope with flushing a
     * partially destroyed context.
     */
-   ctx->st->flush(ctx->st, 0, NULL);
+   ctx->st->flush(ctx->st, 0, NULL, NULL, NULL);
    ctx->st->destroy(ctx->st);
    free(ctx);
 }