fix stupid

This commit is contained in:
Alex Janka 2023-10-04 10:13:41 +11:00
parent 7407bae39d
commit b6a3e83c85

View file

@ -12,11 +12,7 @@ use gb_emu_lib::{
};
use keyboard_types::{Code, KeyState};
use nih_plug::prelude::*;
use pixels::{
raw_window_handle::{HasRawDisplayHandle, HasRawWindowHandle},
wgpu::PowerPreference,
Pixels, SurfaceTexture,
};
use pixels::{wgpu::PowerPreference, Pixels, SurfaceTexture};
use crate::{Frame, FrameReceiver, JoypadInfo, JoypadSender};
@ -104,8 +100,6 @@ impl EmulatorWindow {
frame_receiver: Arc<FrameReceiver>,
joypad_sender: Arc<JoypadSender>,
) -> Self {
window.raw_window_handle();
window.raw_display_handle();
let info = WindowInfo::from_logical_size(
Size::new(WIDTH as f64, HEIGHT as f64),
EXTRA_SCALE as f64,