mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-07 07:45:52 +00:00
Remove unused argument
This commit is contained in:
parent
b7aa5cfc58
commit
8c63e080ba
@ -1,6 +1,5 @@
|
||||
use std::{io, mem::size_of};
|
||||
|
||||
use egui_winit::winit::event_loop::EventLoop;
|
||||
use fj_interop::status_report::StatusReport;
|
||||
use fj_math::{Aabb, Point};
|
||||
use thiserror::Error;
|
||||
@ -45,7 +44,6 @@ impl Renderer {
|
||||
/// Returns a new `Renderer`.
|
||||
pub async fn new(
|
||||
screen: &impl Screen<Window = egui_winit::winit::window::Window>,
|
||||
_: &EventLoop<()>,
|
||||
) -> Result<Self, InitError> {
|
||||
let instance = wgpu::Instance::new(wgpu::Backends::PRIMARY);
|
||||
|
||||
|
@ -42,7 +42,7 @@ pub fn run(
|
||||
let mut focus_point = None;
|
||||
|
||||
let mut input_handler = input::Handler::default();
|
||||
let mut renderer = block_on(Renderer::new(&window, &event_loop))?;
|
||||
let mut renderer = block_on(Renderer::new(&window))?;
|
||||
let mut egui_winit_state = egui_winit::State::new(&event_loop);
|
||||
|
||||
let mut draw_config = DrawConfig::default();
|
||||
|
Loading…
Reference in New Issue
Block a user