remove TextureConvertResult Thingy
This commit is contained in:
parent
a2089dbd92
commit
000c28ff4f
|
@ -7,27 +7,6 @@ use std::path::{Path, PathBuf};
|
|||
mod image_convert;
|
||||
mod metadata_file;
|
||||
|
||||
/*
|
||||
pub type TextureFileResult = Result<Vec<u8>, TextureFileError>;
|
||||
pub enum TextureFileError {
|
||||
NotFound,
|
||||
IoError(io::Error),
|
||||
ImageError(::image::ImageError),
|
||||
}
|
||||
|
||||
impl From<io::Error> for TextureFileError {
|
||||
fn from(err: io::Error) -> Self {
|
||||
TextureFileError::IoError(err)
|
||||
}
|
||||
}
|
||||
|
||||
impl From<::image::ImageError> for TextureFileError {
|
||||
fn from(err: ::image::ImageError) -> Self {
|
||||
TextureFileError::ImageError(err)
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
pub struct DataStore {
|
||||
//data_path: PathBuf,
|
||||
base_dir: PathBuf,
|
||||
|
|
Loading…
Reference in New Issue