diff options
| author | Micha White <botahamec@outlook.com> | 2022-10-13 11:50:21 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2022-10-13 11:50:21 -0400 |
| commit | 67c133aa0ab205259176d2c210b9ab538f6109ba (patch) | |
| tree | a38d541ec8f7c8c23e0324b54d18ffbfa664d762 /src | |
| parent | d2b0c276eecd24a56164ec7d00407594ad88219d (diff) | |
Brought back bitmaps
Diffstat (limited to 'src')
| -rw-r--r-- | src/texture.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/texture.rs b/src/texture.rs index 1002136..ac2dd63 100644 --- a/src/texture.rs +++ b/src/texture.rs @@ -25,6 +25,7 @@ impl TextureId { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] pub enum ImageFormat { + Bmp, Ico, Farbfeld, } @@ -32,6 +33,7 @@ pub enum ImageFormat { impl ImageFormat { const fn format(self) -> image::ImageFormat { match self { + Self::Bmp => image::ImageFormat::Bmp, Self::Ico => image::ImageFormat::Ico, Self::Farbfeld => image::ImageFormat::Farbfeld, } |
