aboutsummaryrefslogtreecommitdiff
path: root/fiv-view.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-01-27 23:09:32 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-01-27 23:10:32 +0100
commit250f2f0f758a5f3ea0f3174843dbf55fc73b1370 (patch)
tree4e05028c7b620e676a63953622e22883e1a81ad5 /fiv-view.c
parentc6d89361a5e2a46818d67ce4a21856ddecc129a4 (diff)
downloadfiv-250f2f0f758a5f3ea0f3174843dbf55fc73b1370.tar.gz
fiv-250f2f0f758a5f3ea0f3174843dbf55fc73b1370.tar.xz
fiv-250f2f0f758a5f3ea0f3174843dbf55fc73b1370.zip
WIP: Thread-safe colour management
Diffstat (limited to 'fiv-view.c')
-rw-r--r--fiv-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fiv-view.c b/fiv-view.c
index dfc7a19..9f6492a 100644
--- a/fiv-view.c
+++ b/fiv-view.c
@@ -1521,6 +1521,7 @@ open_without_swapping_in(FivView *self, const char *uri)
{
FivIoOpenContext ctx = {
.uri = uri,
+ .cmm = self->enable_cms ? fiv_io_cmm_get_default() : NULL,
.screen_profile = self->enable_cms ? self->screen_cms_profile : NULL,
.screen_dpi = 96, // TODO(p): Try to retrieve it from the screen.
.enhance = self->enhance,