Update bin/src/framebuffer.rs

Co-authored-by: Will Greenberg <willg@eff.org>
This commit is contained in:
Cooper Quintin
2024-06-12 14:51:32 -07:00
committed by GitHub
parent 5fa35cb972
commit b2d8b7d5f3

View File

@@ -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;
}