Commit: 23848f439b92bc3b8df46de1496dd9101806caa2
Parent: 1d6065e3eaa161f2d65820ff48e89be3ca0498e4
Author: Randy Palamar
Date: Sat, 7 Sep 2024 19:12:33 -0600
ensure parameters cannot be changed during volume generation
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/beamformer.c b/beamformer.c
@@ -298,7 +298,7 @@ do_beamformer(BeamformerCtx *ctx, Arena arena)
}
if (ctx->flags & DO_COMPUTE || ctx->export_ctx.state & ES_COMPUTING) {
- if (ctx->params->upload) {
+ if (ctx->params->upload && !(ctx->export_ctx.state & ES_COMPUTING)) {
glNamedBufferSubData(ctx->csctx.shared_ubo, 0, sizeof(*bp), bp);
ctx->params->upload = 0;
}