aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/benchmark-raw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/benchmark-raw.c b/tools/benchmark-raw.c
index e1e6ea8..c19760e 100644
--- a/tools/benchmark-raw.c
+++ b/tools/benchmark-raw.c
@@ -320,9 +320,11 @@ process_raw(jv o, const char *filename, const uint8_t *data, size_t len)
// Note that this may use the TIFF/EP shortcut code.
double since = timestamp();
GFile *file = g_file_new_for_commandline_arg(filename);
+ FivIoCmm *cmm = fiv_io_cmm_get_default();
FivIoOpenContext ctx = {
.uri = g_file_get_uri(file),
- .screen_profile = fiv_io_profile_new_sRGB(),
+ .cmm = cmm,
+ .screen_profile = fiv_io_cmm_get_profile_sRGB(cmm),
.screen_dpi = 96,
.warnings = g_ptr_array_new_with_free_func(g_free),
};