Remove wgpu dependency

This commit is contained in:
Franco Colmenarez 2021-11-13 09:24:01 -05:00
parent 0a30d9d194
commit 0957a79f15
3 changed files with 1 additions and 3 deletions

1
Cargo.lock generated
View File

@ -1171,7 +1171,6 @@ dependencies = [
"log", "log",
"pixels", "pixels",
"rand", "rand",
"wgpu",
"winit", "winit",
"winit_input_helper", "winit_input_helper",
] ]

View File

@ -14,6 +14,5 @@ rand = "0.8"
env_logger = "0.9" env_logger = "0.9"
log = "0.4" log = "0.4"
pixels = "0.7" pixels = "0.7"
wgpu = "0.11"
winit = "0.25" winit = "0.25"
winit_input_helper = "0.10" winit_input_helper = "0.10"

View File

@ -6,7 +6,7 @@ use crate::ppu::{WIDTH, HEIGHT};
use std::{thread, time}; use std::{thread, time};
use log::error; use log::error;
use pixels::{Pixels, PixelsBuilder, SurfaceTexture}; use pixels::{wgpu, Pixels, PixelsBuilder, SurfaceTexture};
use winit::dpi::LogicalSize; use winit::dpi::LogicalSize;
use winit::event::{Event, VirtualKeyCode, WindowEvent}; use winit::event::{Event, VirtualKeyCode, WindowEvent};
use winit::event_loop::{ControlFlow, EventLoop}; use winit::event_loop::{ControlFlow, EventLoop};