Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Oct 17, 2021
1 parent 433d3a0 commit d05d330
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ pub fn run(filename: &OsStr) -> Result<()> {
let (mut pixels, mut gui) = {
let window_size = window.inner_size();
let scale_factor = window.scale_factor();
let surface_texture =
SurfaceTexture::new(window_size.width, window_size.height, &window);
let surface_texture = SurfaceTexture::new(window_size.width, window_size.height, &window);
let pixels = Pixels::new(WIDTH, HEIGHT, surface_texture)?;
let gui = Gui::new(window_size.width, window_size.height, scale_factor, &pixels);

Expand Down

0 comments on commit d05d330

Please sign in to comment.