diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-07-09 09:46:31 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-07-09 10:40:32 +0200 |
commit | 840e7f172ce3b805dc5c3e4889e1166159942dc3 (patch) | |
tree | 8f99f8ae164b8039621d287ac7de7726ab9dd141 /fiv-view.c | |
parent | 9b99de99bbe2d87ee62bb72931a22f2551fa470e (diff) | |
download | fiv-840e7f172ce3b805dc5c3e4889e1166159942dc3.tar.gz fiv-840e7f172ce3b805dc5c3e4889e1166159942dc3.tar.xz fiv-840e7f172ce3b805dc5c3e4889e1166159942dc3.zip |
Colour-manage SVGs
Diffstat (limited to 'fiv-view.c')
-rw-r--r-- | fiv-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -409,7 +409,8 @@ prescale_page(FivView *self) // If it fails, the previous frame pointer may become invalid. g_clear_pointer(&self->page_scaled, fiv_io_image_unref); - self->frame = self->page_scaled = closure->render(closure, self->scale); + self->frame = self->page_scaled = closure->render(closure, + self->enable_cms ? self->screen_cms_profile : NULL, self->scale); if (!self->page_scaled) self->frame = self->page; } |