fix stupid
This commit is contained in:
parent
7407bae39d
commit
b6a3e83c85
1 changed files with 1 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue