diff --git a/src/profile.rs b/src/profile.rs index b08f6f25a56f63930021121670650e3b168ed2fd..455f17422c6fdd2fee1fe4539ffaea5f17396c7b 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