lol idk #1

Closed
Quaternions wants to merge 1062 commits from StrafesNET/strafe-project:master into master
Showing only changes of commit fa69c53cfc - Show all commits

@ -342,6 +342,7 @@ fn load_image<R:Read+Seek+std::io::BufRead>(input:&mut R)->AResult<image::Dynami
input.rewind()?;
match &fourcc{
b"\x89PNG"=>Ok(image::load(input,image::ImageFormat::Png)?),
b"JPEG"=>Ok(image::load(input,image::ImageFormat::Jpeg)?),
_=>Err(anyhow::Error::msg("Unknown texture format")),
}
}