diff options
Diffstat (limited to 'quantum/painter/qff.c')
| -rw-r--r-- | quantum/painter/qff.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/quantum/painter/qff.c b/quantum/painter/qff.c index cd6af788f9..8590f5b400 100644 --- a/quantum/painter/qff.c +++ b/quantum/painter/qff.c @@ -10,7 +10,7 @@  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  // QFF API -bool qff_read_font_descriptor(qp_stream_t *stream, uint8_t *line_height, bool *has_ascii_table, uint16_t *num_unicode_glyphs, uint8_t *bpp, bool *has_palette, painter_compression_t *compression_scheme, uint32_t *total_bytes) { +bool qff_read_font_descriptor(qp_stream_t *stream, uint8_t *line_height, bool *has_ascii_table, uint16_t *num_unicode_glyphs, uint8_t *bpp, bool *has_palette, bool *is_panel_native, painter_compression_t *compression_scheme, uint32_t *total_bytes) {      // Seek to the start      qp_stream_setpos(stream, 0); @@ -49,7 +49,7 @@ bool qff_read_font_descriptor(qp_stream_t *stream, uint8_t *line_height, bool *h          *num_unicode_glyphs = font_descriptor.num_unicode_glyphs;      }      if (bpp || has_palette) { -        if (!qgf_parse_format(font_descriptor.format, bpp, has_palette)) { +        if (!qgf_parse_format(font_descriptor.format, bpp, has_palette, is_panel_native)) {              return false;          }      } @@ -102,7 +102,7 @@ bool qff_validate_stream(qp_stream_t *stream) {      bool     has_ascii_table;      uint16_t num_unicode_glyphs; -    if (!qff_read_font_descriptor(stream, NULL, &has_ascii_table, &num_unicode_glyphs, NULL, NULL, NULL, NULL)) { +    if (!qff_read_font_descriptor(stream, NULL, &has_ascii_table, &num_unicode_glyphs, NULL, NULL, NULL, NULL, NULL)) {          return false;      } @@ -127,7 +127,7 @@ uint32_t qff_get_total_size(qp_stream_t *stream) {      // Read the font descriptor, grabbing the size      uint32_t total_size; -    if (!qff_read_font_descriptor(stream, NULL, NULL, NULL, NULL, NULL, NULL, &total_size)) { +    if (!qff_read_font_descriptor(stream, NULL, NULL, NULL, NULL, NULL, NULL, NULL, &total_size)) {          return false;      } | 
