mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-27 16:09:58 -07:00
Update bin/src/framebuffer.rs
Co-authored-by: Will Greenberg <willg@eff.org>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user