mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
update wgpu, winit and wgpu_glyph
This commit is contained in:
parent
59a0c47038
commit
3346eb4f2c
5 changed files with 93 additions and 308 deletions
|
@ -5,7 +5,7 @@ use crate::{
|
|||
lowlevel::ortho::update_ortho_buffer,
|
||||
lowlevel::pipelines,
|
||||
primitives::rect::Rect,
|
||||
primitives::text::{build_glyph_brush, owned_section_from_text, Text},
|
||||
primitives::text::{build_glyph_brush, Text},
|
||||
},
|
||||
rects_and_texts::RectsAndTexts,
|
||||
};
|
||||
|
@ -30,7 +30,6 @@ use winit::{
|
|||
fn run_event_loop(title: &str, rects_and_texts: RectsAndTexts) -> Result<(), Box<dyn Error>> {
|
||||
// Open window and create a surface
|
||||
let mut event_loop = winit::event_loop::EventLoop::new();
|
||||
let mut needs_repaint = true;
|
||||
|
||||
let window = winit::window::WindowBuilder::new()
|
||||
.with_inner_size(PhysicalSize::new(1900.0, 1000.0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue