Fix Compositor stack use after scope
Caused by {rBf84fb12f5d72433780a96} after changing `get_areas_to_render` to return a vector instead of a span.
This commit is contained in:
@@ -122,7 +122,7 @@ void FullFrameExecutionModel::render_operation(NodeOperation *op)
|
||||
Vector<MemoryBuffer *> input_bufs = get_input_buffers(op, output_x, output_y);
|
||||
const int op_offset_x = output_x - op->get_canvas().xmin;
|
||||
const int op_offset_y = output_y - op->get_canvas().ymin;
|
||||
Span<rcti> areas = active_buffers_.get_areas_to_render(op, op_offset_x, op_offset_y);
|
||||
Vector<rcti> areas = active_buffers_.get_areas_to_render(op, op_offset_x, op_offset_y);
|
||||
op->render(op_buf, areas, input_bufs);
|
||||
DebugInfo::operation_rendered(op, op_buf);
|
||||
|
||||
|
Reference in New Issue
Block a user