From 8bd2472577068032d09d56925da3d604fd21b227 Mon Sep 17 00:00:00 2001 From: Kornel <kornel@geekhood.net> Date: Fri, 15 Sep 2017 17:49:18 +0100 Subject: [PATCH] Unused --- src/profile.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/profile.rs b/src/profile.rs index b08f6f2..455f174 100644 --- a/src/profile.rs +++ b/src/profile.rs @@ -276,10 +276,10 @@ impl<Ctx: Context> Profile<Ctx> { } } - pub fn detect_black_point(&self, intent: Intent, flags: u32) -> Option<CIEXYZ> { + pub fn detect_black_point(&self, intent: Intent) -> Option<CIEXYZ> { unsafe { let mut b = Default::default(); - if ffi::cmsDetectBlackPoint(&mut b, self.handle, intent, flags) != 0 { + if ffi::cmsDetectBlackPoint(&mut b, self.handle, intent, 0) != 0 { Some(b) } else { None @@ -287,10 +287,10 @@ impl<Ctx: Context> Profile<Ctx> { } } - pub fn detect_destination_black_point(&self, intent: Intent, flags: u32) -> Option<CIEXYZ> { + pub fn detect_destination_black_point(&self, intent: Intent) -> Option<CIEXYZ> { unsafe { let mut b = Default::default(); - if ffi::cmsDetectDestinationBlackPoint(&mut b, self.handle, intent, flags) != 0 { + if ffi::cmsDetectDestinationBlackPoint(&mut b, self.handle, intent, 0) != 0 { Some(b) } else { None -- GitLab