fixed bug with color layering issue
This commit is contained in:
@@ -3,7 +3,11 @@ pub mod format;
|
||||
pub mod palette;
|
||||
pub mod types;
|
||||
|
||||
pub mod dst;
|
||||
pub mod exp;
|
||||
pub mod jef;
|
||||
pub mod pes;
|
||||
pub mod vp3;
|
||||
|
||||
mod render;
|
||||
mod resolve;
|
||||
@@ -32,6 +36,9 @@ fn parse_and_resolve(data: &[u8], fmt: Format) -> Result<ResolvedDesign, Error>
|
||||
let design = pes::parse(data)?;
|
||||
pes::resolve(&design)
|
||||
}
|
||||
_ => Err(Error::UnsupportedFormat),
|
||||
Format::Dst => dst::parse_and_resolve(data),
|
||||
Format::Exp => exp::parse_and_resolve(data),
|
||||
Format::Jef => jef::parse_and_resolve(data),
|
||||
Format::Vp3 => vp3::parse_and_resolve(data),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user