mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[fontations] Minor remove a type
This commit is contained in:
parent
aabf8aadf8
commit
4bb7f61050
1 changed files with 1 additions and 1 deletions
|
@ -704,7 +704,7 @@ extern "C" fn _hb_fontations_paint_glyph(
|
|||
unsafe { std::slice::from_raw_parts(std::ptr::NonNull::dangling().as_ptr(), 0) }
|
||||
} else {
|
||||
let cpal = cpal.unwrap();
|
||||
let num_entries: usize = cpal.num_palette_entries().into();
|
||||
let num_entries = cpal.num_palette_entries().into();
|
||||
let color_records = cpal.color_records_array();
|
||||
let start_index = cpal.color_record_indices().get(palette_index as usize);
|
||||
let start_index = if start_index.is_some() {
|
||||
|
|
Loading…
Add table
Reference in a new issue