Bug 1697320: Mark webrender::render_task_graph::dump_render_tasks_as_svg as needed only when 'capture' feature is enabled r=nical

Differential Revision: https://phabricator.services.mozilla.com/D107748
This commit is contained in:
Jim Blandy 2021-03-10 21:21:23 +00:00
Родитель c7276af0c1
Коммит ce7105394a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -837,7 +837,7 @@ impl RenderPass {
}
// Dump an SVG visualization of the render graph for debugging purposes
#[allow(dead_code)]
#[cfg(feature = "capture")]
pub fn dump_render_tasks_as_svg(
render_tasks: &RenderTaskGraph,
output: &mut dyn std::io::Write,