summaryrefslogtreecommitdiff
path: root/src/texture.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2022-10-13 11:48:43 -0400
committerMicha White <botahamec@outlook.com>2022-10-13 11:48:43 -0400
commitd2b0c276eecd24a56164ec7d00407594ad88219d (patch)
tree466efa439d63c5255b2f523e3d508cc2f5797df6 /src/texture.rs
parent121dc57f0962f27ab9e5da2ec05d3a1b1d97cdb2 (diff)
Removed bitmap support
Diffstat (limited to 'src/texture.rs')
-rw-r--r--src/texture.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/texture.rs b/src/texture.rs
index ac2dd63..1002136 100644
--- a/src/texture.rs
+++ b/src/texture.rs
@@ -25,7 +25,6 @@ impl TextureId {
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub enum ImageFormat {
- Bmp,
Ico,
Farbfeld,
}
@@ -33,7 +32,6 @@ 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,
}