r600g: move constant buffer creation behind winsys abstraction.
[mesa.git] / src / gallium / winsys / r600 / drm / radeon_ctx.c
index d6e58451b85fd5c7a1c025cd9fcafb6d7e0212a7..a57163be03e0d3e8bbfc99e7c5af16f5e0ff50f8 100644 (file)
@@ -360,7 +360,7 @@ void radeon_ctx_dump_bof(struct radeon_ctx *ctx, const char *file)
                        goto out_err;
                bof_decref(handle);
                handle = NULL;
-               data = radeon_ws_bo_map(ctx->radeon, ctx->bo[i]);
+               data = radeon_ws_bo_map(ctx->radeon, ctx->bo[i], 0, NULL);
                blob = bof_blob(ctx->bo[i]->bo->size, data);
                radeon_ws_bo_unmap(ctx->radeon, ctx->bo[i]);
                if (blob == NULL)