test: pass the depth map BlockCache::build now requires
text_font_rendering.rs still called BlockCache::build with the pre- depth-map signature, so 'cargo test' failed to compile on main. Pass an empty map — the test exercises glyph tessellation, not draw order. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
e9198a47e5
commit
ead2f5dd0b
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ fn expand_block_mtext(
|
|||
|
||||
let ins = Insert::new("LABEL_BLOCK", insert_at);
|
||||
doc.add_entity(EntityType::Insert(ins.clone())).unwrap();
|
||||
let cache = BlockCache::build(&doc, 1.0, [0.0, 0.0, 0.0, 1.0]);
|
||||
let cache = BlockCache::build(&doc, 1.0, [0.0, 0.0, 0.0, 1.0], &Default::default());
|
||||
expand_insert(
|
||||
&cache,
|
||||
&ins,
|
||||
|
|
|
|||
Loading…
Reference in a new issue