diff --git a/gb-vst/src/ui.rs b/gb-vst/src/ui.rs index fbb10ed..f0503c0 100644 --- a/gb-vst/src/ui.rs +++ b/gb-vst/src/ui.rs @@ -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, joypad_sender: Arc, ) -> 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,