color-management-v1: only expose the protocol with vulkan
This commit is contained in:
parent
248eb324a5
commit
fcd2e3ab33
7 changed files with 40 additions and 2 deletions
|
|
@ -742,6 +742,10 @@ pub trait GfxContext: Debug {
|
|||
width: i32,
|
||||
height: i32,
|
||||
) -> Result<Rc<dyn GfxBlendBuffer>, GfxError>;
|
||||
|
||||
fn supports_color_management(&self) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue