diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-01-28 01:13:15 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-01-28 01:13:15 +0100 |
commit | 501dc123ada348f18cac7ed05c812b5e633bd2ef (patch) | |
tree | 149e157778c320100ab7bf0e676695ae4f57c962 /fiv-view.c | |
parent | 6b4759b63af5d5724c40be516d886b6f9fb0026d (diff) | |
download | fiv-501dc123ada348f18cac7ed05c812b5e633bd2ef.tar.gz fiv-501dc123ada348f18cac7ed05c812b5e633bd2ef.tar.xz fiv-501dc123ada348f18cac7ed05c812b5e633bd2ef.zip |
WIP: Thread-safe colour managementthread-safe-cmm-wip
Diffstat (limited to 'fiv-view.c')
-rw-r--r-- | fiv-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -417,7 +417,7 @@ 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, - fiv_io_cmm_get_default(), + self->enable_cms ? fiv_io_cmm_get_default() : NULL, self->enable_cms ? self->screen_cms_profile : NULL, self->scale); if (!self->page_scaled) self->frame = self->page; |