From b2d8b7d5f358f4d5080958d31b66b88205af2118 Mon Sep 17 00:00:00 2001 From: Cooper Quintin Date: Wed, 12 Jun 2024 14:51:32 -0700 Subject: [PATCH] Update bin/src/framebuffer.rs Co-authored-by: Will Greenberg --- bin/src/framebuffer.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/src/framebuffer.rs b/bin/src/framebuffer.rs index dae2fd7..f695072 100644 --- a/bin/src/framebuffer.rs +++ b/bin/src/framebuffer.rs @@ -38,7 +38,6 @@ impl Framebuffer<'_>{ resized_img = img.resize( self.dimensions.width, self.dimensions.height, FilterType::CatmullRom); width = self.dimensions.width.min(resized_img.width()); height = self.dimensions.height.min(resized_img.height()); - } else { resized_img = img; }