Skip to content
Snippets Groups Projects
Commit 8bd24725 authored by Kornel's avatar Kornel
Browse files

Unused

parent 3890dc9f
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment