Pack attributes slightly

This commit is contained in:
grovesNL 2022-05-09 11:52:38 -02:30
parent f5648e0f94
commit 195374c716
3 changed files with 62 additions and 50 deletions

View file

@ -1,12 +1,14 @@
use fontdue::{
layout::{CoordinateSystem, Layout, LayoutSettings, TextStyle},
Font, FontSettings,
use glyphon::{
fontdue::{
layout::{CoordinateSystem, Layout, LayoutSettings, TextStyle},
Font, FontSettings,
},
Resolution, TextRenderer,
};
use wgpu::{
Color, CommandEncoderDescriptor, LoadOp, Operations, RenderPassColorAttachment,
RenderPassDescriptor, TextureViewDescriptor,
};
use glyphon::{Resolution, TextRenderer};
use winit::{
event::{Event, WindowEvent},
event_loop::{ControlFlow, EventLoop},