From b6a3e83c859a5784d7899304fccd6e6bc3b7d19b Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Wed, 4 Oct 2023 10:13:41 +1100 Subject: [PATCH] fix stupid --- gb-vst/src/ui.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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,